diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-01 09:33:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-01 11:05:21 +0200 |
commit | 6af36bae47e34c51b0f063e938554db3a922eed6 (patch) | |
tree | 2cf4d2edba335c781001dce502193011f54f9059 /sfx2 | |
parent | a378ece3831f3639022a6fb5543c279f517c7535 (diff) |
std::list<sal_Int16> to vector
Change-Id: I4129ea523bd3e4882ff776328b46c72abf9f918f
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 11c316c7ffd4..e2db91966619 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1145,7 +1145,7 @@ throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; - std::list< sal_Int16 > aGroupList; + std::vector< sal_Int16 > aGroupList; SfxViewFrame* pViewFrame( m_pData->m_pViewShell->GetFrame() ); SfxSlotPool* pPool = &SfxSlotPool::GetSlotPool( pViewFrame ); @@ -1169,9 +1169,7 @@ throw (RuntimeException, std::exception) } } - uno::Sequence< sal_Int16 > aSeq = - comphelper::containerToSequence< sal_Int16 >( aGroupList ); - return aSeq; + return comphelper::containerToSequence< sal_Int16 >( aGroupList ); } uno::Sequence< frame::DispatchInformation > SAL_CALL SfxBaseController::getConfigurableDispatchInformation( sal_Int16 nCmdGroup ) |