diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-26 15:43:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-27 15:03:40 +0200 |
commit | 5e4fc9540993ee5e10f1986918acdd868a1fcf1b (patch) | |
tree | ce8220d974c5e7994c82fb35b7bee0f7fd21a7ed /framework/source/jobs | |
parent | 0c2d6574c6cca4bbb0cc469fb2c976774394e01a (diff) |
clang-tidy modernize-loop-convert in f*
Change-Id: Id866aa244378758e3bdb9e99d02cdd2ae6104e16
Diffstat (limited to 'framework/source/jobs')
-rw-r--r-- | framework/source/jobs/jobdispatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx index 78e014c30c40..d85fb0e34566 100644 --- a/framework/source/jobs/jobdispatch.cxx +++ b/framework/source/jobs/jobdispatch.cxx @@ -323,13 +323,13 @@ 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 (size_t j=0; j<lJobs.size(); ++j) + for (OUString & lJob : lJobs) { /* SAFE { */ aReadLock.reset(); JobData aCfg(m_xContext); - aCfg.setEvent(sEvent, lJobs[j]); + aCfg.setEvent(sEvent, lJob); aCfg.setEnvironment(JobData::E_DISPATCH); const bool bIsEnabled=aCfg.hasCorrectContext(m_sModuleIdentifier); |