summaryrefslogtreecommitdiff
path: root/unotools/source/config/eventcfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/eventcfg.cxx')
-rw-r--r--unotools/source/config/eventcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index b0e36fc62c4d..819a18576144 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -196,9 +196,9 @@ void GlobalEventConfig_Impl::initBindingInfo()
lMacros[0] = aSetNode + rEventName + aCommandKey;
SAL_INFO("unotools", "reading binding for: " << lMacros[0]);
Sequence< Any > lValues = GetProperties( lMacros );
- OUString sMacroURL;
if( lValues.hasElements() )
{
+ OUString sMacroURL;
lValues[0] >>= sMacroURL;
sal_Int32 startIndex = rEventName.indexOf('\'');
sal_Int32 endIndex = rEventName.lastIndexOf('\'');