summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjfactory.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpobjfactory.cxx b/lotuswordpro/source/filter/lwpobjfactory.cxx
index fa4faf1f3e68..48b370350c21 100644
--- a/lotuswordpro/source/filter/lwpobjfactory.cxx
+++ b/lotuswordpro/source/filter/lwpobjfactory.cxx
@@ -658,7 +658,7 @@ rtl::Reference<LwpObject> LwpObjectFactory::CreateObject(sal_uInt32 type, LwpObj
if (newObj.is())
{
newObj->QuickRead();
- auto result = m_IdToObjList.insert(LwpIdToObjMap::value_type(objHdr.GetID(), newObj));
+ auto result = m_IdToObjList.emplace(objHdr.GetID(), newObj);
if (!result.second)
{
SAL_WARN("lwp", "clearing duplicate object");