This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 33f5cc50ca Don't use fontcolor for DeckTitleFont
33f5cc50ca is described below
commit 33f5cc50cadeaab1adf3495cb06e1442e9b620a9
Author: mseidel <[email protected]>
AuthorDate: Tue Nov 7 00:49:29 2023 +0100
Don't use fontcolor for DeckTitleFont
(cherry picked from commit 6026f80cfa6ea899d34223ac2137816bbecc52fa)
---
main/sfx2/source/sidebar/Theme.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/main/sfx2/source/sidebar/Theme.cxx
b/main/sfx2/source/sidebar/Theme.cxx
index f7e1445231..d179a9b6c6 100644
--- a/main/sfx2/source/sidebar/Theme.cxx
+++ b/main/sfx2/source/sidebar/Theme.cxx
@@ -230,7 +230,7 @@ void Theme::UpdateTheme (void)
Any(sal_Int32(3)));
setPropertyValue(
maPropertyIdToNameMap[Color_DeckTitleFont],
- Any(sal_Int32(rStyle.GetFontColor().GetRGBColor())));
+ Any(sal_Int32(mbIsHighContrastMode ? 0xffffff :
0x262626)));
setPropertyValue(
maPropertyIdToNameMap[Int_DeckTitleBarHeight],
Any(sal_Int32(Alternatives(
@@ -1116,3 +1116,5 @@ void Theme::ProcessNewValue (
}
} } // end of namespace sfx2::sidebar
+
+/* vim: set noet sw=4 ts=4: */