diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 16:41:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-12 08:03:01 +0200 |
commit | baa5f32c21185025b64c01fc589c69961528b0c5 (patch) | |
tree | 74cac2c06c169986ca89c446fd69c745305bcc82 /oox/source/mathml/importutils.cxx | |
parent | 7e2a6709d9511f983f9981258c38ccc125bcd3fe (diff) |
clang-tidy modernize-use-emplace in oox
Change-Id: I9ea063b7f6c63ae1ad039859efeebb292d44c6e2
Reviewed-on: https://gerrit.libreoffice.org/42172
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/mathml/importutils.cxx')
-rw-r--r-- | oox/source/mathml/importutils.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx index 77f5ec94b84f..af3efdc8caef 100644 --- a/oox/source/mathml/importutils.cxx +++ b/oox/source/mathml/importutils.cxx @@ -320,17 +320,17 @@ void XmlStream::handleUnexpectedTag() void XmlStreamBuilder::appendOpeningTag( int token, const uno::Reference< xml::sax::XFastAttributeList >& attrs ) { - tags.push_back( Tag( OPENING( token ), attrs )); + tags.emplace_back( OPENING( token ), attrs ); } void XmlStreamBuilder::appendOpeningTag( int token, const AttributeList& attrs ) { - tags.push_back( Tag( OPENING( token ), attrs )); + tags.emplace_back( OPENING( token ), attrs ); } void XmlStreamBuilder::appendClosingTag( int token ) { - tags.push_back( Tag( CLOSING( token ))); + tags.emplace_back( CLOSING( token )); } void XmlStreamBuilder::appendCharacters( const OUString& chars ) |