diff options
Diffstat (limited to 'desktop/source/deployment/registry/component')
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 24949b8e9586..847fbf30fba9 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -1042,8 +1042,7 @@ Reference<XInterface> BackendImpl::insertObject( { const ::osl::MutexGuard guard( getMutex() ); const std::pair<t_string2object::iterator, bool> insertion( - m_backendObjects.insert( t_string2object::value_type( - id, xObject ) ) ); + m_backendObjects.emplace( id, xObject ) ); return insertion.first->second; } |