summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r--svx/source/gallery2/galbrws2.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 11e6676eb484..858b97db244a 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -155,20 +155,17 @@ GalleryThemePopup::GalleryThemePopup(
mpPopupMenu->SetPopupMenu(mpPopupMenu->GetItemId("background"), mpBackgroundPopup);
// SID_GALLERY_ENABLE_ADDCOPY
- m_aCommandInfo.insert(
- CommandInfoMap::value_type(
+ m_aCommandInfo.emplace(
SID_GALLERY_ENABLE_ADDCOPY,
- CommandInfo( CMD_SID_GALLERY_ENABLE_ADDCOPY )));
+ CommandInfo( CMD_SID_GALLERY_ENABLE_ADDCOPY ));
// SID_GALLERY_BG_BRUSH
- m_aCommandInfo.insert(
- CommandInfoMap::value_type(
+ m_aCommandInfo.emplace(
SID_GALLERY_BG_BRUSH,
- CommandInfo( CMD_SID_GALLERY_BG_BRUSH )));
+ CommandInfo( CMD_SID_GALLERY_BG_BRUSH ));
// SID_GALLERY_FORMATS
- m_aCommandInfo.insert(
- CommandInfoMap::value_type(
+ m_aCommandInfo.emplace(
SID_GALLERY_FORMATS,
- CommandInfo( CMD_SID_GALLERY_FORMATS )));
+ CommandInfo( CMD_SID_GALLERY_FORMATS ));
}