summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtimp.cxx
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/text/txtimp.cxx
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/text/txtimp.cxx')
-rw-r--r--xmloff/source/text/txtimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 2e8837c88da7..d54478f0b473 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2647,7 +2647,7 @@ void XMLTextImportHelper::addFieldParam( const OUString& name, const OUString& v
assert(!m_xImpl->m_FieldStack.empty());
if (!m_xImpl->m_FieldStack.empty()) {
Impl::field_stack_item_t & FieldStackItem(m_xImpl->m_FieldStack.top());
- FieldStackItem.second.push_back(Impl::field_param_t( name, value ));
+ FieldStackItem.second.emplace_back( name, value );
}
}