summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/jobs/jobdispatch.cxx2
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx4
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanager.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx
index 0407f05591d3..2af4ea2b2c80 100644
--- a/framework/source/jobs/jobdispatch.cxx
+++ b/framework/source/jobs/jobdispatch.cxx
@@ -318,7 +318,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const OUString&
// It's not really an error, if no registered jobs could be located.
// Step over all found jobs and execute it
int nExecutedJobs=0;
- for (OUString & lJob : lJobs)
+ for (const OUString & lJob : lJobs)
{
/* SAFE { */
aReadLock.reset();
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 );
}
}