sfx2/source/dialog/StyleList.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e7eaeefeef74eea7c37063d89cd8d9679f302663 Author: Heiko Tietze <[email protected]> AuthorDate: Mon Jan 12 12:55:16 2026 +0100 Commit: Heiko Tietze <[email protected]> CommitDate: Mon Feb 23 10:40:47 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]> (cherry picked from commit 8855e318f81651f7aff33cf12d27a37b4abe87fa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199981 Reviewed-by: Mihai Vasiliu <[email protected]> diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx index 9d7064b0c94b..b3f9aa5043c1 100644 --- a/sfx2/source/dialog/StyleList.cxx +++ b/sfx2/source/dialog/StyleList.cxx @@ -1793,7 +1793,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;
