diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 09:45:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 10:33:27 +0200 |
commit | a185ea4ec12898574d52ebdf4a1017005745df7d (patch) | |
tree | d6a88042cb6be1d75f3a12a11f0b918eeb6fa403 /sdext/source/pdfimport/sax | |
parent | e609ac1e5ffe1a6882551660256d9625b630d346 (diff) |
clang-tidy modernize-use-emplace in sd
Change-Id: I2e3000f7bd0f3beed8309e0e3dd18e6ed4b8feee
Reviewed-on: https://gerrit.libreoffice.org/42184
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/sax')
-rw-r--r-- | sdext/source/pdfimport/sax/saxattrlist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/sax/saxattrlist.cxx b/sdext/source/pdfimport/sax/saxattrlist.cxx index 5b65cd9cd531..f2cf5fc16de3 100644 --- a/sdext/source/pdfimport/sax/saxattrlist.cxx +++ b/sdext/source/pdfimport/sax/saxattrlist.cxx @@ -32,7 +32,7 @@ SaxAttrList::SaxAttrList( const std::unordered_map< OUString, OUString, OUString it != rMap.end(); ++it ) { m_aIndexMap[ it->first ] = m_aAttributes.size(); - m_aAttributes.push_back( AttrEntry( it->first, it->second ) ); + m_aAttributes.emplace_back( it->first, it->second ); } } |