diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-13 16:43:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 08:29:11 +0200 |
commit | 2d2259c848b43f9f04d5bb6073c00b8ae124534a (patch) | |
tree | 28a3d6274bcb2ffa5b7c55c519fc07b4f2cfacc3 /unoxml | |
parent | b0b0aef18fff981fa1f4a1539c150260cc526595 (diff) |
clang-tidy modernize-use-emplace in test..vbahelper
Change-Id: Ifbe1dd7c9d5dde33f7419548670434591b1a1d82
Reviewed-on: https://gerrit.libreoffice.org/42258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/events/eventdispatcher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/events/eventdispatcher.cxx b/unoxml/source/events/eventdispatcher.cxx index 54cbf4c3267e..a68256a278fa 100644 --- a/unoxml/source/events/eventdispatcher.cxx +++ b/unoxml/source/events/eventdispatcher.cxx @@ -190,7 +190,7 @@ namespace DOM { namespace events { { Reference< XEventTarget > const xRef( rDocument.GetCNode(cur).get()); - captureVector.push_back(::std::make_pair(xRef, cur)); + captureVector.emplace_back(xRef, cur); cur = cur->parent; } captureListeners = m_CaptureListeners; |