summaryrefslogtreecommitdiff
path: root/comphelper/source/container/NamedPropertyValuesContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/container/NamedPropertyValuesContainer.cxx')
-rw-r--r--comphelper/source/container/NamedPropertyValuesContainer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/container/NamedPropertyValuesContainer.cxx b/comphelper/source/container/NamedPropertyValuesContainer.cxx
index 7e72ccce808e..771c9ac5a262 100644
--- a/comphelper/source/container/NamedPropertyValuesContainer.cxx
+++ b/comphelper/source/container/NamedPropertyValuesContainer.cxx
@@ -76,7 +76,7 @@ void SAL_CALL NamedPropertyValuesContainer::insertByName( const OUString& aName,
if( !(aElement >>= aProps ) )
throw lang::IllegalArgumentException();
- maProperties.insert( NamedPropertyValues::value_type(aName ,aProps) );
+ maProperties.emplace( aName, aProps );
}
void SAL_CALL NamedPropertyValuesContainer::removeByName( const OUString& Name )