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/vml/vmltextbox.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/vml/vmltextbox.cxx')
-rw-r--r-- | oox/source/vml/vmltextbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmltextbox.cxx b/oox/source/vml/vmltextbox.cxx index cfa07b0546db..810b7fd7cc46 100644 --- a/oox/source/vml/vmltextbox.cxx +++ b/oox/source/vml/vmltextbox.cxx @@ -57,7 +57,7 @@ TextBox::TextBox(ShapeTypeModel& rTypeModel) void TextBox::appendPortion( const TextParagraphModel& rParagraph, const TextFontModel& rFont, const OUString& rText ) { - maPortions.push_back( TextPortionModel( rParagraph, rFont, rText ) ); + maPortions.emplace_back( rParagraph, rFont, rText ); } const TextFontModel* TextBox::getFirstFont() const |