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

New commits:
commit 6cc4c43a50744dda045e30d510892d6662804e50
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Fri Jan 2 02:41:13 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Jan 5 10:09:00 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]>

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