summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-01 09:32:23 +0200
committerNoel Grandin <noel@peralex.com>2016-09-01 11:05:21 +0200
commita378ece3831f3639022a6fb5543c279f517c7535 (patch)
tree320bf2d94b6c7fb5890cf44dd500ed8b21957582 /sfx2
parentbb932b34f19bf8297549b9741b7cdcfe691ca374 (diff)
std::list<sal_Int16> to vector
Change-Id: If1fbab63446ed7d1627f542a7aac4a9eb2fa6c88
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdispatchprovider.cxx7
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 )