include/svx/svdotext.hxx      |    1 -
 svx/source/svdraw/svdoutl.cxx |    4 ----
 2 files changed, 5 deletions(-)

New commits:
commit 3d84e126cf48519691bd9e8de0feb1f55d4b5792
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Fri Jan 2 02:45:48 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Jan 5 10:13:15 2026 +0100

    Revert "svx: fixed textbox text always black on dark theme"
    
    This reverts commit c52f139b4f7140033144dde29f70a39ebedb6aa0.
    
    these changes are not needed after b1a6bc7a
    
    Change-Id: Id71c57d383703c182dec790b66e96563ed8fbac2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196404
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index c69cfee4c4d6..a9c91ad51d8d 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -133,7 +133,6 @@ private:
     friend class TextChain;
     friend class TextChainFlow;
     friend class EditingTextChainFlow;
-    friend class SdrOutliner;
 
     // CustomShapeproperties need to access the "mbTextFrame" member:
     friend class sdr::properties::CustomShapeProperties;
diff --git a/svx/source/svdraw/svdoutl.cxx b/svx/source/svdraw/svdoutl.cxx
index 2002b5f05392..8198c260e344 100644
--- a/svx/source/svdraw/svdoutl.cxx
+++ b/svx/source/svdraw/svdoutl.cxx
@@ -26,7 +26,6 @@
 #include <editeng/editstat.hxx>
 #include <svl/itempool.hxx>
 #include <editeng/editview.hxx>
-#include <editeng/editeng.hxx>
 
 
 SdrOutliner::SdrOutliner( SfxItemPool* pItemPool, OutlinerMode nMode )
@@ -63,9 +62,6 @@ void SdrOutliner::SetTextObj( const SdrTextObj* pObj )
         SetPaperSize( aMaxSize );
         SetTextColumns(pObj->GetTextColumnsNumber(), 
pObj->GetTextColumnsSpacing());
         ClearPolygon();
-
-        if (pObj->GetTextEditOutliner())
-            
SetBackgroundColor(pObj->GetTextEditOutliner()->GetEditEngine().GetBackgroundColor());
     }
 
     mxWeakTextObj = const_cast< SdrTextObj* >(pObj);

Reply via email to