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 c425d9d5150f..2f2a53d289c9 100644 --- a/sfx2/source/appl/appdispatchprovider.cxx +++ b/sfx2/source/appl/appdispatchprovider.cxx @@ -205,7 +205,7 @@ throw (uno::RuntimeException, std::exception) } } - return comphelper::containerToSequence< sal_Int16 >( aGroupList ); + return comphelper::containerToSequence( aGroupList ); } Sequence< frame::DispatchInformation > SAL_CALL SfxAppDispatchProvider::getConfigurableDispatchInformation( sal_Int16 nCmdGroup ) @@ -249,10 +249,7 @@ throw (uno::RuntimeException, std::exception) } } - uno::Sequence< frame::DispatchInformation > aSeq = - comphelper::containerToSequence< frame::DispatchInformation, std::list< frame::DispatchInformation > >( aCmdList ); - - return aSeq; + return comphelper::containerToSequence( aCmdList ); } } |