diff options
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 4 | ||||
-rw-r--r-- | framework/source/uiconfiguration/uiconfigurationmanager.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 305cc8c08300..b629dbaefca3 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -1528,9 +1528,9 @@ void SAL_CALL ModuleUIConfigurationManager::reload() aGuard.clear(); // Notify our listeners - for (ui::ConfigurationEvent & j : aRemoveNotifyContainer) + for (const ui::ConfigurationEvent & j : aRemoveNotifyContainer) implts_notifyContainerListener( j, NotifyOp_Remove ); - for (ui::ConfigurationEvent & k : aReplaceNotifyContainer) + for (const ui::ConfigurationEvent & k : aReplaceNotifyContainer) implts_notifyContainerListener( k, NotifyOp_Replace ); } } diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index ef8015660cdb..01dcf13246c1 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -812,7 +812,7 @@ void SAL_CALL UIConfigurationManager::reset() aGuard.clear(); // Notify our listeners - for (ConfigurationEvent & k : aRemoveEventNotifyContainer) + for (const ConfigurationEvent & k : aRemoveEventNotifyContainer) implts_notifyContainerListener( k, NotifyOp_Remove ); } catch ( const css::lang::IllegalArgumentException& ) @@ -1253,9 +1253,9 @@ void SAL_CALL UIConfigurationManager::reload() aGuard.clear(); // Notify our listeners - for (ConfigurationEvent & j : aRemoveNotifyContainer) + for (const ConfigurationEvent & j : aRemoveNotifyContainer) implts_notifyContainerListener( j, NotifyOp_Remove ); - for (ConfigurationEvent & k : aReplaceNotifyContainer) + for (const ConfigurationEvent & k : aReplaceNotifyContainer) implts_notifyContainerListener( k, NotifyOp_Replace ); } } |