summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-10 11:04:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-20 07:40:21 +0000
commitaf6daec72b71b1d72a2555efdc5b2fb2e0ba2b90 (patch)
tree1f16be1fd99edcdc3237ee3fa038ca0f1b88b4fd /unotools
parent00754461516416f8ee59ec97632bff84f4d9b155 (diff)
more config skipping stuff and a tester tool
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 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 'unotools')
-rw-r--r--unotools/source/config/eventcfg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index fc862ac689b1..9b13364d253c 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -387,6 +387,8 @@ Mutex& GlobalEventConfig::GetOwnStaticMutex()
OUString GlobalEventConfig::GetEventName( GlobalEventId nIndex )
{
+ if (utl::ConfigManager::IsAvoidConfig())
+ return OUString();
return GlobalEventConfig().m_pImpl->GetEventName( nIndex );
}