diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-31 12:05:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-14 11:51:44 +0200 |
commit | b0de7bc428aaf914a836da3c33b123e4195e603e (patch) | |
tree | b5d83694bab8f9958281f9b382b2d5731d8f7263 /xmlscript | |
parent | 5d5ac2fd9e8fe4781d6175eb58b949ba9c25d564 (diff) |
clang-tidy modernize-use-emplace in various
Change-Id: Id1bbd3f380c17beeaab11f7140d4df1304c3d0d8
Reviewed-on: https://gerrit.libreoffice.org/41750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index 30fa4dbcaa9d..3b5927673fdf 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -66,7 +66,7 @@ namespace xmlscript void EventElement::endElement() { - static_cast< ControlElement * >( m_xParent.get() )->_events.push_back( this ); + static_cast< ControlElement * >( m_xParent.get() )->_events.emplace_back(this ); } ControlElement::ControlElement( |