diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-31 13:29:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-31 13:29:22 +0100 |
commit | 9c99c64e34a2e546211398ec0caaa259e8a39bcc (patch) | |
tree | 5b89381941ddc6e0217d981c33243119753c5090 /svtools/source | |
parent | 858257d465b7e7ce54819cc2f631efcb20632863 (diff) |
config-less fallback
Change-Id: I695260d6d0c727c3ba7a67886e535569292b15e5
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/config/colorcfg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index e199fc5a23ef..5408aa19033a 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -408,6 +408,8 @@ ColorConfig::ColorConfig() ColorConfig::~ColorConfig() { + if (utl::ConfigManager::IsAvoidConfig()) + return; ::osl::MutexGuard aGuard( ColorMutex_Impl::get() ); m_pImpl->RemoveListener(this); if(!--nColorRefCount_Impl) |