diff options
Diffstat (limited to 'framework/source/uifactory/factoryconfiguration.cxx')
-rw-r--r-- | framework/source/uifactory/factoryconfiguration.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uifactory/factoryconfiguration.cxx b/framework/source/uifactory/factoryconfiguration.cxx index 1895daa7f376..49da26648fd1 100644 --- a/framework/source/uifactory/factoryconfiguration.cxx +++ b/framework/source/uifactory/factoryconfiguration.cxx @@ -121,7 +121,7 @@ void ConfigurationAccess_ControllerFactory::addServiceToCommandModule( osl::MutexGuard g(m_mutex); OUString aHashKey = getHashKeyFromStrings( rCommandURL, rModule ); - m_aMenuControllerMap.insert( MenuControllerMap::value_type( aHashKey,ControllerInfo(rServiceSpecifier,OUString()) )); + m_aMenuControllerMap.emplace( aHashKey,ControllerInfo(rServiceSpecifier,OUString()) ); } void ConfigurationAccess_ControllerFactory::removeServiceFromCommandModule( @@ -248,7 +248,7 @@ void ConfigurationAccess_ControllerFactory::updateConfigurationData() // Create hash key from command and module as they are together a primary key to // the UNO service that implements the popup menu controller. aHashKey = getHashKeyFromStrings( aCommand, aModule ); - m_aMenuControllerMap.insert( MenuControllerMap::value_type( aHashKey, ControllerInfo(aService,aValue) )); + m_aMenuControllerMap.emplace( aHashKey, ControllerInfo(aService,aValue) ); } } catch ( const NoSuchElementException& ) |