summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Theme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/Theme.cxx')
-rw-r--r--sfx2/source/sidebar/Theme.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index 706a49848bb9..1a46180d91c8 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -128,7 +128,7 @@ void Theme::HandleDataChange()
{
// Do not modify mbIsHighContrastMode when it was manually set.
GetCurrentTheme().mbIsHighContrastMode = Application::GetSettings().GetStyleSettings().GetHighContrastMode();
- rTheme.maRawValues[Bool_IsHighContrastModeActive] = Any(GetCurrentTheme().mbIsHighContrastMode);
+ rTheme.maRawValues[Bool_IsHighContrastModeActive] <<= GetCurrentTheme().mbIsHighContrastMode;
}
GetCurrentTheme().UpdateTheme();