summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eda804829c83..06e7a9f1dad8 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -112,7 +112,7 @@ GlobalEventConfig_Impl::GlobalEventConfig_Impl()
: ConfigItem( ROOTNODE_EVENTS, ConfigItemMode::ImmediateUpdate )
{
// the supported event names
- for (GlobalEventId id : o3tl::enumrange<GlobalEventId>())
+ for (const GlobalEventId id : o3tl::enumrange<GlobalEventId>())
m_supportedEvents[id] = OUString::createFromAscii( pEventAsciiNames[id] );
initBindingInfo();