diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/settings.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/settings.cxx b/vcl/source/window/settings.cxx index 759f1ff12da1..bb18f957a72a 100644 --- a/vcl/source/window/settings.cxx +++ b/vcl/source/window/settings.cxx @@ -26,6 +26,7 @@ #include <vcl/settings.hxx> #include <unotools/fontcfg.hxx> +#include <unotools/configmgr.hxx> #include <unotools/confignode.hxx> #include <comphelper/processfactory.hxx> @@ -236,7 +237,7 @@ void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, bool bCallHdl ) // auto detect HC mode; if the system already set it to "yes" // (see above) then accept that - if( !rSettings.GetStyleSettings().GetHighContrastMode() ) + if (!rSettings.GetStyleSettings().GetHighContrastMode() && !utl::ConfigManager::IsAvoidConfig()) { bool bAutoHCMode = true; utl::OConfigurationNode aNode = utl::OConfigurationTreeRoot::tryCreateWithComponentContext( |