diff options
Diffstat (limited to 'sfx2/source/view/sfxbasecontroller.cxx')
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 173f14524628..f11e73b27dd7 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -156,9 +156,9 @@ sal_Int16 MapGroupIDToCommandGroup( SfxGroupId nGroupID ) sal_Int32 i = 0; while ( GroupIDCommandGroupMap[i].nGroupID != SfxGroupId::NONE ) { - s_aHashMap.insert( GroupHashMap::value_type( + s_aHashMap.emplace( GroupIDCommandGroupMap[i].nGroupID, - GroupIDCommandGroupMap[i].nCommandGroup )); + GroupIDCommandGroupMap[i].nCommandGroup ); ++i; } bGroupIDMapInitialized = true; |