diff options
Diffstat (limited to 'dbaccess/source/ui/browser/genericcontroller.cxx')
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index 29efea37a09c..1230c17a3e84 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -1443,14 +1443,7 @@ Sequence< ::sal_Int16 > SAL_CALL OGenericUnoController::getSupportedCommandGroup if ( aIter->second.GroupId != CommandGroup::INTERNAL ) aCmdHashMap.insert( CommandHashMap::value_type( aIter->second.GroupId, 0 )); - Sequence< sal_Int16 > aCommandGroups( aCmdHashMap.size() ); - ::std::transform( aCmdHashMap.begin(), - aCmdHashMap.end(), - aCommandGroups.getArray(), - ::o3tl::select1st< CommandHashMap::value_type >() - ); - - return aCommandGroups; + return comphelper::mapKeysToSequence( aCmdHashMap ); } namespace |