diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-30 14:54:53 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-11-30 19:14:02 +0100 |
commit | b4b5f5dd525e42f4d2958d44d7015bbbcf7f67b9 (patch) | |
tree | 95b9a6916b8ebdba1b1a856f8f8e6284f46b70cc /svx | |
parent | 145b942359b7d2c14f162d9417873ae097ea3b7c (diff) |
Resolves: tdf#152311 inform EditEngine what the bg color is
so it can pick an appropiate color for "auto"
Change-Id: I6dba73a72ccb3106baf4b12ff8052b372e749a49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143446
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/weldeditview.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx index c00c887f3c71..dfae0f3082f8 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); |