summaryrefslogtreecommitdiffstats
path: root/comphelper/source/misc/accessibleeventnotifier.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-10 16:43:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-11 12:38:32 +0200
commitd347c2403605c5aa3ddd98fb605366914acab79f (patch)
treee39624030741234c514bccd858e69d6318dfba68 /comphelper/source/misc/accessibleeventnotifier.cxx
parentpython3: upgrade to release 3.5.4 (diff)
downloadcore-d347c2403605c5aa3ddd98fb605366914acab79f.tar.gz
core-d347c2403605c5aa3ddd98fb605366914acab79f.zip
convert std::map::insert to std::map::emplace
which is considerably less verbose Change-Id: Ifa373e8eb09e39bd6c8d3578641610a6055a187b Reviewed-on: https://gerrit.libreoffice.org/40978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper/source/misc/accessibleeventnotifier.cxx')
-rw-r--r--comphelper/source/misc/accessibleeventnotifier.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx
index 702d03bab8fd..884109279251 100644
--- a/comphelper/source/misc/accessibleeventnotifier.cxx
+++ b/comphelper/source/misc/accessibleeventnotifier.cxx
@@ -157,7 +157,7 @@ AccessibleEventNotifier::TClientId AccessibleEventNotifier::registerClient()
// completely nonsense, and potentially slowing down the Office me thinks...
// add the client
- Clients::get().insert( ClientMap::value_type( nNewClientId, pNewListeners ) );
+ Clients::get().emplace( nNewClientId, pNewListeners );
// outta here
return nNewClientId;