svx/source/svdraw/svdedxv.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit add0e4d6769f19f389abdb35f352d0a950d31e6a
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Fri Jan 2 02:41:13 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Jan 23 10:06:17 2026 +0100

    svx: update background color of editing outliner view
    
    problem:
    when textbox is in edit mode and user changed the theme
    automatic font color was not updated until textbox editing ended
    this resulted in automatic color staying accoring to previous theme
    
    Change-Id: I522e9244621345853d6ede45403e12a1ac4ed94d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196402
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197884

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 5598e4ce4279..eeaf6ee95bed 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -957,6 +957,9 @@ void SdrObjEditView::TextEditDrawing(SdrPaintWindow& 
rPaintWindow)
                         if (pOLV->GetWindow()->GetOutDev() == pOutputDevice
                             || comphelper::LibreOfficeKit::isActive())
                         {
+                            SdrPage* pPage = GetSdrPageView()->GetPage();
+                            pOLV->SetBackgroundColor(
+                                
pPage->GetPageBackgroundColor(GetSdrPageView(), true));
                             ImpPaintOutlinerView(*pOLV, aCheckRect,
                                                  
rPaintWindow.GetTargetOutputDevice());
                             return;

Reply via email to