summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-10-13 19:50:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-15 20:49:45 +0200
commit1651dee9a9ebbef9e296358198761361836c16ff (patch)
treed32f3324ba48b127956c4208f3e4f2feaed94f6f /sfx2/source/appl
parentf8b9116e710891cbd8674fe838f04e41346d83b8 (diff)
Replace lists by vectors (sfx2)
Change-Id: I081d0614978bc6d9f1a137e09d09e6d2dadb925a Reviewed-on: https://gerrit.libreoffice.org/43372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appdispatchprovider.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/appdispatchprovider.cxx b/sfx2/source/appl/appdispatchprovider.cxx
index bd7b9c66fd8b..2c284688afaa 100644
--- a/sfx2/source/appl/appdispatchprovider.cxx
+++ b/sfx2/source/appl/appdispatchprovider.cxx
@@ -199,7 +199,7 @@ Sequence< sal_Int16 > SAL_CALL SfxAppDispatchProvider::getSupportedCommandGroups
Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfigurableDispatchInformation( sal_Int16 nCmdGroup )
{
- std::list< frame::DispatchInformation > aCmdList;
+ std::vector< frame::DispatchInformation > aCmdVector;
SolarMutexGuard aGuard;
SfxSlotPool& rAppSlotPool = SfxGetpApp()->GetAppSlotPool_Impl();
@@ -223,7 +223,7 @@ Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfi
frame::DispatchInformation aCmdInfo;
aCmdInfo.Command = ".uno:" + OUString::createFromAscii(pSfxSlot->GetUnoName());
aCmdInfo.GroupId = nCommandGroup;
- aCmdList.push_back( aCmdInfo );
+ aCmdVector.push_back( aCmdInfo );
}
pSfxSlot = rAppSlotPool.NextSlot();
}
@@ -231,7 +231,7 @@ Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfi
}
}
- return comphelper::containerToSequence( aCmdList );
+ return comphelper::containerToSequence( aCmdVector );
}
}