summaryrefslogtreecommitdiff
path: root/framework/source/jobs/jobdispatch.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-02-16 19:58:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-01 07:33:45 +0000
commit3f7f497192deb486b1b959996c14f8f094146945 (patch)
treeb830caec984a7ac9fb71ce92663f35c3f5f221a1 /framework/source/jobs/jobdispatch.cxx
parentdba6451b2f25b3d8510e0a848977166ee5e6c8e3 (diff)
sequence->vector in framework
Change-Id: I457c3da4f4a31f58d688dcd96a2ccfc36518490d Reviewed-on: https://gerrit.libreoffice.org/23692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework/source/jobs/jobdispatch.cxx')
-rw-r--r--framework/source/jobs/jobdispatch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx
index e855de85d053..78e014c30c40 100644
--- a/framework/source/jobs/jobdispatch.cxx
+++ b/framework/source/jobs/jobdispatch.cxx
@@ -311,7 +311,7 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const OUString&
// filter disabled jobs using it's time stamp values.
/* SAFE { */
SolarMutexResettableGuard aReadLock;
- css::uno::Sequence< OUString > lJobs = JobData::getEnabledJobsForEvent(m_xContext, sEvent);
+ std::vector< OUString > lJobs = JobData::getEnabledJobsForEvent(m_xContext, sEvent);
aReadLock.clear();
/* } SAFE */
@@ -323,7 +323,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 (int j=0; j<lJobs.getLength(); ++j)
+ for (size_t j=0; j<lJobs.size(); ++j)
{
/* SAFE { */
aReadLock.reset();