This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6026f80cfa Don't use fontcolor for DeckTitleFont
6026f80cfa is described below
commit 6026f80cfa6ea899d34223ac2137816bbecc52fa
Author: mseidel <[email protected]>
AuthorDate: Tue Nov 7 00:49:29 2023 +0100
Don't use fontcolor for DeckTitleFont
---
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: */