diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-05-29 12:34:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-05-29 19:39:38 +0200 |
commit | e42703d9f23d2235c3a1d61b06610248627595c0 (patch) | |
tree | 472dcb0483185e495419674852de3dec6e7659a0 /drawinglayer/inc | |
parent | db3f072dd61cd06ac67f52324f9ca0d21609f508 (diff) |
elide temporary vector in processMetaTextLineAction
Change-Id: Icf5a3ae47aec43854e669133f3d0c2bace1d942d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135090
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/wmfemfhelper.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drawinglayer/inc/wmfemfhelper.hxx b/drawinglayer/inc/wmfemfhelper.hxx index 01449ae2b1da..f085065c1ea6 100644 --- a/drawinglayer/inc/wmfemfhelper.hxx +++ b/drawinglayer/inc/wmfemfhelper.hxx @@ -53,6 +53,10 @@ namespace wmfemfhelper { append(pCandidate.get()); } + void append(drawinglayer::primitive2d::Primitive2DContainer xCandidate) + { + aTargets.append(std::move(xCandidate)); + } void append(drawinglayer::primitive2d::BasePrimitive2D* pCandidate); drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequence(const PropertyHolder& rPropertyHolder); }; |