diff options
Diffstat (limited to 'sfx2/source/appl/appdispatchprovider.cxx')
-rw-r--r-- | sfx2/source/appl/appdispatchprovider.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sfx2/source/appl/appdispatchprovider.cxx b/sfx2/source/appl/appdispatchprovider.cxx index 11cc76d5bd60..cc947c5a3f87 100644 --- a/sfx2/source/appl/appdispatchprovider.cxx +++ b/sfx2/source/appl/appdispatchprovider.cxx @@ -181,7 +181,7 @@ throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; - std::list< sal_Int16 > aGroupList; + std::vector< sal_Int16 > aGroupList; SfxSlotPool* pAppSlotPool = &SfxGetpApp()->GetAppSlotPool_Impl(); const SfxSlotMode nMode( SfxSlotMode::TOOLBOXCONFIG|SfxSlotMode::ACCELCONFIG|SfxSlotMode::MENUCONFIG ); @@ -203,10 +203,7 @@ throw (uno::RuntimeException, std::exception) } } - uno::Sequence< sal_Int16 > aSeq = - comphelper::containerToSequence< sal_Int16, std::list< sal_Int16 > >( aGroupList ); - - return aSeq; + return comphelper::containerToSequence< sal_Int16 >( aGroupList ); } Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfigurableDispatchInformation( sal_Int16 nCmdGroup ) |