diff options
Diffstat (limited to 'comphelper/source/property/propertybag.cxx')
-rw-r--r-- | comphelper/source/property/propertybag.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propertybag.cxx b/comphelper/source/property/propertybag.cxx index b3be3ddbf5ac..027301a4d318 100644 --- a/comphelper/source/property/propertybag.cxx +++ b/comphelper/source/property/propertybag.cxx @@ -123,7 +123,7 @@ namespace comphelper registerPropertyNoMember( _rName, _nHandle, _nAttributes | PropertyAttribute::MAYBEVOID, _rType, css::uno::Any() ); // remember the default - m_pImpl->aDefaults.insert( MapInt2Any::value_type( _nHandle, Any() ) ); + m_pImpl->aDefaults.emplace( _nHandle, Any() ); } @@ -146,7 +146,7 @@ namespace comphelper _rInitialValue ); // remember the default - m_pImpl->aDefaults.insert( MapInt2Any::value_type( _nHandle, _rInitialValue ) ); + m_pImpl->aDefaults.emplace( _nHandle, _rInitialValue ); } |