summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-12 11:46:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-12 12:11:36 +0100
commitb2247f86e42c05991165834ff5d63731b0da2b3b (patch)
tree228aa497c115de6cee2e7da625fd38610c368cbc /include/basegfx
parent67c541621b701a6873f4e507ad9cc4119b2985bf (diff)
improve mergeToSinglePolyPolygon
spotted by llunak. No need to take param by &&, since mergeToSinglePol does not actually need to modify it. Also flatten it a little. Change-Id: I2f5ade347db756e21ecb0a88c3935805268f5072 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125086 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/polygon/b2dpolypolygoncutter.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygoncutter.hxx b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
index 864d84643281..a5f4ba6626af 100644
--- a/include/basegfx/polygon/b2dpolypolygoncutter.hxx
+++ b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
@@ -136,7 +136,7 @@ namespace basegfx::utils
@return A single tools::PolyPolygon containing the Or-merged result
*/
- BASEGFX_DLLPUBLIC B2DPolyPolygon mergeToSinglePolyPolygon(B2DPolyPolygonVector&& rInput);
+ BASEGFX_DLLPUBLIC B2DPolyPolygon mergeToSinglePolyPolygon(const B2DPolyPolygonVector& rInput);
} // end of namespace basegfx::utils