diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 14:40:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 19:46:01 +0200 |
commit | eea7af10d9ff1407c90abc233f6ea470fa832b1c (patch) | |
tree | 5f339e9ade51a1dff1a5ec866d1375c3ca287f90 /basegfx | |
parent | f4ac99f717d7365fc7d1f0adbf72a9bb4d4c8db5 (diff) |
loplugin:moveparam in basegfx
Change-Id: I73414e94358114ff0d475f13855db8c4c493b6f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123334
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index f314fcb716cc..9d3cd7b450df 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -1067,9 +1067,9 @@ namespace basegfx::utils } } - B2DPolyPolygon mergeToSinglePolyPolygon(const B2DPolyPolygonVector& rInput) + B2DPolyPolygon mergeToSinglePolyPolygon(B2DPolyPolygonVector&& rInput) { - B2DPolyPolygonVector aInput(rInput); + B2DPolyPolygonVector aInput(std::move(rInput)); // first step: prepareForPolygonOperation and simple merge of non-overlapping // PolyPolygons for speedup; this is possible for the wanted OR-operation |