From 96ee91aea6710dcc1797d677f8faef453ba919b2 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Wed, 25 Nov 2015 12:04:17 -0800 Subject: add const in ranged for Change-Id: I0f55705e101e39e9e6e5286f21cad8ccb96e7fad --- unotools/source/config/eventcfg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools') 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()) + for (const GlobalEventId id : o3tl::enumrange()) m_supportedEvents[id] = OUString::createFromAscii( pEventAsciiNames[id] ); initBindingInfo(); -- cgit