summaryrefslogtreecommitdiffstats
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-01 20:55:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-02 08:00:28 +0200
commit7934085eb95cc0ff39e948525f0cc2b80edc0169 (patch)
treedb728dddcd2f77103213bf3d46979aa3375768e7 /include/drawinglayer
parentSome corner case unit tests (diff)
downloadcore-7934085eb95cc0ff39e948525f0cc2b80edc0169.tar.gz
core-7934085eb95cc0ff39e948525f0cc2b80edc0169.zip
new loplugin:moveparam
Look for places where we can pass Primitive2DContainer by move reference and so avoid unnecessary copies. Change-Id: I1db167feba6d1a616ca6fc39778118ae20106bd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122964 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/converters.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drawinglayer/converters.hxx b/include/drawinglayer/converters.hxx
index 64d0e2ce7d4e..a0b8c4c4be78 100644
--- a/include/drawinglayer/converters.hxx
+++ b/include/drawinglayer/converters.hxx
@@ -25,7 +25,7 @@
namespace drawinglayer
{
BitmapEx DRAWINGLAYER_DLLPUBLIC
-convertToBitmapEx(const drawinglayer::primitive2d::Primitive2DContainer& rSeq,
+convertToBitmapEx(drawinglayer::primitive2d::Primitive2DContainer&& rSeq,
const geometry::ViewInformation2D& rViewInformation2D, sal_uInt32 nDiscreteWidth,
sal_uInt32 nDiscreteHeight, sal_uInt32 nMaxSquarePixels);