summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej@ahunt.org>2015-11-25 12:04:17 -0800
committerAndrzej Hunt <andrzej@ahunt.org>2015-11-25 15:26:43 -0800
commit96ee91aea6710dcc1797d677f8faef453ba919b2 (patch)
treea6876ab027838aab83b5bd7afe02e2c7a7cc740c /unotools
parent87d41e3b7d0cf000346ec412ae5af10a6d162849 (diff)
add const in ranged for
Change-Id: I0f55705e101e39e9e6e5286f21cad8ccb96e7fad
Diffstat (limited to 'unotools')
-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();