sfx2/source/dialog/StyleList.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8855e318f81651f7aff33cf12d27a37b4abe87fa
Author:     Heiko Tietze <[email protected]>
AuthorDate: Mon Jan 12 12:55:16 2026 +0100
Commit:     Heiko Tietze <[email protected]>
CommitDate: Wed Jan 28 07:25:19 2026 +0100

    Related tdf#170143 - Stylist text color should consider themed colors
    
    DialogColor is not part of the themed colors, and WindowTextColor
    might be better suited anyway
    
    Change-Id: Ie52cd239cf44f96b15c1e3085d70fd2de62aa676
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197094
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <[email protected]>

diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx
index b7a531512cb1..589b847f4a62 100644
--- a/sfx2/source/dialog/StyleList.cxx
+++ b/sfx2/source/dialog/StyleList.cxx
@@ -1795,7 +1795,7 @@ IMPL_LINK(StyleList, CustomRenderHdl, 
weld::TreeView::render_args, aPayload, voi
     if (bSelected)
         rRenderContext.SetTextColor(rStyleSettings.GetHighlightTextColor());
     else
-        rRenderContext.SetTextColor(rStyleSettings.GetDialogTextColor());
+        rRenderContext.SetTextColor(rStyleSettings.GetWindowTextColor());
 
     bool bSuccess = false;
 

Reply via email to