diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-09 15:34:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-09 16:25:48 +0200 |
commit | 7e76ea4bcc720826be457ac6ea26fba36193f006 (patch) | |
tree | dac89050aa1486b30efc200bf497f26129acf7e0 /drawinglayer | |
parent | 8104d771b10a5c8b15eae4b67aa112ae2ef77b5b (diff) |
fix std::move same object more than once
after
commit 8104d771b10a5c8b15eae4b67aa112ae2ef77b5b
tdf#144052 reduce Primitive2D copying
spotted by mikekanganski
Change-Id: I97e4675a9042cfafa3f9f6c053ba2f50aeea2183
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121852
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/fillgraphicprimitive2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/fillgraphicprimitive2d.cxx b/drawinglayer/source/primitive2d/fillgraphicprimitive2d.cxx index 958d3bf17960..7566f8be9384 100644 --- a/drawinglayer/source/primitive2d/fillgraphicprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/fillgraphicprimitive2d.cxx @@ -73,7 +73,7 @@ namespace drawinglayer::primitive2d { rContainer.push_back(new TransformPrimitive2D( getTransformation() * aMatrices[a], - std::move(xSeq))); + Primitive2DContainer(xSeq))); } } else |