From 885092535ce812d08227d46edd2e86387510b3ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 30 Nov 2022 14:54:53 +0000 Subject: [PATCH] Resolves: tdf#152311 inform EditEngine what the bg color is MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit so it can pick an appropiate color for "auto" Change-Id: I6dba73a72ccb3106baf4b12ff8052b372e749a49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143501 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svx/source/dialog/weldeditview.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx index a87168708ddb..2e1ff335b9c7 100644 --- a/svx/source/dialog/weldeditview.cxx +++ b/svx/source/dialog/weldeditview.cxx @@ -1559,6 +1559,7 @@ void WeldEditView::SetDrawingArea(weld::DrawingArea* pDrawingArea) m_xEditView->SetOutputArea(tools::Rectangle(Point(0, 0), aOutputSize)); m_xEditView->SetBackgroundColor(aBgColor); + m_xEditEngine->SetBackgroundColor(aBgColor); m_xEditEngine->InsertView(m_xEditView.get()); pDrawingArea->set_cursor(PointerStyle::Text);