summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneBorderPainter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneBorderPainter.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneBorderPainter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx
index 8aab1f8768e1..764c7dc0560c 100644
--- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx
+++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx
@@ -575,8 +575,7 @@ std::shared_ptr<RendererPaneStyle>
// Create a new pane style object and initialize it with bitmaps.
std::shared_ptr<RendererPaneStyle> pStyle (
new RendererPaneStyle(mpTheme,sPaneStyleName));
- iStyle = maRendererPaneStyles.insert(
- RendererPaneStyleContainer::value_type(rsResourceURL, pStyle)).first;
+ iStyle = maRendererPaneStyles.emplace(rsResourceURL, pStyle).first;
}
if (iStyle != maRendererPaneStyles.end())
return iStyle->second;