summaryrefslogtreecommitdiff
path: root/comphelper/source/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 16:55:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 08:40:57 +0200
commit4c09f8e087cae598efbb78759110c03ed10e3a3a (patch)
tree963bf5ef462eacc2195ffb23d22c6e7e5fd0d627 /comphelper/source/xml
parent58edb05341494dfaa3d3ce33505b97961d5f2ea9 (diff)
clang-tidy modernize-use-emplace in c*
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9 Reviewed-on: https://gerrit.libreoffice.org/42110 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper/source/xml')
-rw-r--r--comphelper/source/xml/attributelist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx
index cf02d5c9bbf7..a3a22134220a 100644
--- a/comphelper/source/xml/attributelist.cxx
+++ b/comphelper/source/xml/attributelist.cxx
@@ -118,7 +118,7 @@ AttributeList::~AttributeList()
void AttributeList::AddAttribute(const OUString &sName,
const OUString &sType, const OUString &sValue)
{
- m_pImpl->vecAttribute.push_back( TagAttribute_Impl(sName, sType, sValue) );
+ m_pImpl->vecAttribute.emplace_back(sName, sType, sValue );
}
void AttributeList::Clear()