diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-22 09:43:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-22 12:30:15 +0200 |
commit | 58418e9a85a007f550d9deb02729fc0c96cc1efd (patch) | |
tree | 9dcfb94b5c131a099d2c65f49ebaafa6ad2bba49 /drawinglayer | |
parent | 41ccb5c63c94e54b07707eca62bed761c87b0d10 (diff) |
reduce copying in BufferedDecompositionPrimitive2D
Change-Id: I2393c45c064ea423b7ea1b70e1f16e1a4cea2bef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122419
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx index 301d501e6e32..6846a3bcdd26 100644 --- a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx @@ -40,7 +40,7 @@ void BufferedDecompositionPrimitive2D::get2DDecomposition( Primitive2DContainer aNewSequence; create2DDecomposition(aNewSequence, rViewInformation); const_cast<BufferedDecompositionPrimitive2D*>(this)->setBuffered2DDecomposition( - aNewSequence); + std::move(aNewSequence)); } rVisitor.append(getBuffered2DDecomposition()); |