summaryrefslogtreecommitdiff
path: root/svtools/source/uno/statusbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/statusbarcontroller.cxx')
-rw-r--r--svtools/source/uno/statusbarcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx
index fecabd21ad2a..94433e733fbd 100644
--- a/svtools/source/uno/statusbarcontroller.cxx
+++ b/svtools/source/uno/statusbarcontroller.cxx
@@ -162,7 +162,7 @@ void SAL_CALL StatusbarController::initialize( const Sequence< Any >& aArguments
}
if ( !m_aCommandURL.isEmpty() )
- m_aListenerMap.insert( URLToDispatchMap::value_type( m_aCommandURL, Reference< XDispatch >() ));
+ m_aListenerMap.emplace( m_aCommandURL, Reference< XDispatch >() );
}
}
@@ -357,7 +357,7 @@ void StatusbarController::addStatusListener( const OUString& aCommandURL )
if ( !m_bInitialized )
{
// Put into the unordered_map of status listener. Will be activated when initialized is called
- m_aListenerMap.insert( URLToDispatchMap::value_type( aCommandURL, Reference< XDispatch >() ));
+ m_aListenerMap.emplace( aCommandURL, Reference< XDispatch >() );
return;
}
else
@@ -388,7 +388,7 @@ void StatusbarController::addStatusListener( const OUString& aCommandURL )
}
}
else
- m_aListenerMap.insert( URLToDispatchMap::value_type( aCommandURL, xDispatch ));
+ m_aListenerMap.emplace( aCommandURL, xDispatch );
}
}
}