summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
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 );
}