From 5d5ac2fd9e8fe4781d6175eb58b949ba9c25d564 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Sep 2017 08:35:19 +0200 Subject: clang-tidy modernize-use-emplace in xmloff Change-Id: I55bf75b5505d01cb33f26fac4603afdb3b4f1780 Reviewed-on: https://gerrit.libreoffice.org/42262 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/meta/xmlmetae.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/meta') diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx index c0c10e0247a8..2528d717d424 100644 --- a/xmloff/source/meta/xmlmetae.cxx +++ b/xmloff/source/meta/xmlmetae.cxx @@ -381,8 +381,8 @@ SvXMLMetaExport::startElement(const OUString & i_rName, } } if (!found) { - m_preservedNSs.push_back(beans::StringPair(name, - i_xAttribs->getValueByIndex(i))); + m_preservedNSs.emplace_back(name, + i_xAttribs->getValueByIndex(i)); } } } -- cgit