diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-08 15:47:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-09 00:16:43 +0100 |
commit | 9cb2962197b592a9b93dac2ea8b8f3652cb5fbcb (patch) | |
tree | b995c09768d5c3c2e89c08d7833c8b4669cf112e /svtools | |
parent | f5765d9f621bdc8fd0e1ac5eec1dcab9ae5b5d06 (diff) |
rename AvoidConfig to Fuzzing
cause that's what its really used for and a couple of cases
are not specifically about avoiding config but avoiding uninteresting
disk acccess and what not
Change-Id: I4c6454f98388579fcd0bf9798321d30408ab65ee
Reviewed-on: https://gerrit.libreoffice.org/44491
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 2 | ||||
-rw-r--r-- | svtools/source/config/colorcfg.cxx | 6 | ||||
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 4f00f2b73a44..98f5eb96a452 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -357,7 +357,7 @@ void SvtAccessibilityOptions_Impl::SetVCLSettings() SvtAccessibilityOptions::SvtAccessibilityOptions() { - if (!utl::ConfigManager::IsAvoidConfig()) + if (!utl::ConfigManager::IsFuzzing()) { ::osl::MutexGuard aGuard( SingletonMutex::get() ); if(!sm_pSingleImplConfig) diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index 78f25796f202..9acf01a6326c 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -189,7 +189,7 @@ ColorConfig_Impl::ColorConfig_Impl() : uno::Sequence < OUString > aNames(1); EnableNotification( aNames ); - if (!utl::ConfigManager::IsAvoidConfig()) + if (!utl::ConfigManager::IsFuzzing()) Load(OUString()); ImplUpdateApplicationSettings(); @@ -369,7 +369,7 @@ void ColorConfig_Impl::ImplUpdateApplicationSettings() ColorConfig::ColorConfig() { - if (utl::ConfigManager::IsAvoidConfig()) + if (utl::ConfigManager::IsFuzzing()) return; ::osl::MutexGuard aGuard( ColorMutex_Impl::get() ); if ( !m_pImpl ) @@ -383,7 +383,7 @@ ColorConfig::ColorConfig() ColorConfig::~ColorConfig() { - if (utl::ConfigManager::IsAvoidConfig()) + if (utl::ConfigManager::IsFuzzing()) return; ::osl::MutexGuard aGuard( ColorMutex_Impl::get() ); m_pImpl->RemoveListener(this); diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index fb6848544220..8d030fdc19c5 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -155,7 +155,7 @@ void GraphicObject::ImplEnsureGraphicManager() sal_uLong nCacheSize = 20000; sal_uLong nMaxObjCacheSize = 20000; sal_uLong nTimeoutSeconds = 20000; - if (!utl::ConfigManager::IsAvoidConfig()) + if (!utl::ConfigManager::IsFuzzing()) { try { @@ -378,7 +378,7 @@ void GraphicObject::SetUserData( const OUString& rUserData ) static sal_uInt32 GetCacheTimeInMs() { - if (utl::ConfigManager::IsAvoidConfig()) + if (utl::ConfigManager::IsFuzzing()) return 20000; const sal_uInt32 nSeconds = |