summaryrefslogtreecommitdiff
path: root/xmloff/source/meta
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-14 08:35:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-14 10:25:27 +0200
commit5d5ac2fd9e8fe4781d6175eb58b949ba9c25d564 (patch)
tree1c32d0257d3ea62cb60cf802efb0e7f57f8ead8c /xmloff/source/meta
parentd36ccd2a7111b35276c21ed19750921fdfbfdacc (diff)
clang-tidy modernize-use-emplace in xmloff
Change-Id: I55bf75b5505d01cb33f26fac4603afdb3b4f1780 Reviewed-on: https://gerrit.libreoffice.org/42262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/meta')
-rw-r--r--xmloff/source/meta/xmlmetae.cxx4
1 files changed, 2 insertions, 2 deletions
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));
}
}
}