From af6daec72b71b1d72a2555efdc5b2fb2e0ba2b90 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 Jul 2015 11:04:50 +0100 Subject: more config skipping stuff and a tester tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- unotools/source/config/eventcfg.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unotools') 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 ); } -- cgit