summaryrefslogtreecommitdiff
path: root/svtools/source/config/accessibilityoptions.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-01-16 23:21:53 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-01-16 23:38:30 +0100
commit7f7a0275be241b8a5e1d1cda0a1da613e3af61d3 (patch)
treed37e982980425971daf87655515977baca4f2fc1 /svtools/source/config/accessibilityoptions.cxx
parent31321832dc043b959c6a3b6a6a1f4c49576d3751 (diff)
fdo#71511: reload ColorConfig after tweaking relevant a11y settings
note that the autodetect HC option is somewhat broken anyway: it resets the icon theme hard, so there are not simple roundtrips enableing/disabling it for that, but those havent been there before either. Change-Id: Ia35a41717224dfb7437054bb885c61d7e0b189d7
Diffstat (limited to 'svtools/source/config/accessibilityoptions.cxx')
-rw-r--r--svtools/source/config/accessibilityoptions.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 4294e7cc091a..84f0e1c30b7e 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -31,6 +31,8 @@
#include <svl/smplhint.hxx>
+#include <svtools/colorcfg.hxx>
+
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <rtl/instance.hxx>
@@ -386,7 +388,7 @@ void SvtAccessibilityOptions_Impl::SetAutoDetectSystemHC(sal_Bool bSet)
{
xNode->setPropertyValue(s_sAutoDetectSystemHC, css::uno::makeAny(bSet));
::comphelper::ConfigurationHelper::flush(m_xCfg);
-
+ svtools::ColorConfig().Reload();
bIsModified = sal_True;
}
}