This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new ce6abae538 Don't use fontcolor for DeckTitleFont
ce6abae538 is described below

commit ce6abae5386bfb6b85243a3d21754402dc24587c
Author: mseidel <msei...@apache.org>
AuthorDate: Thu Nov 9 15:16:27 2023 +0100

    Don't use fontcolor for DeckTitleFont
---
 main/sfx2/source/sidebar/Theme.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/sfx2/source/sidebar/Theme.cxx 
b/main/sfx2/source/sidebar/Theme.cxx
index 728a697387..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(
@@ -1117,3 +1117,4 @@ void Theme::ProcessNewValue (
 
 } } // end of namespace sfx2::sidebar
 
+/* vim: set noet sw=4 ts=4: */

Reply via email to