summaryrefslogtreecommitdiff
path: root/oox/source/mathml/importutils.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-11 16:41:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-12 08:03:01 +0200
commitbaa5f32c21185025b64c01fc589c69961528b0c5 (patch)
tree74cac2c06c169986ca89c446fd69c745305bcc82 /oox/source/mathml/importutils.cxx
parent7e2a6709d9511f983f9981258c38ccc125bcd3fe (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.cxx6
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 )