summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 14:40:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 19:46:01 +0200
commiteea7af10d9ff1407c90abc233f6ea470fa832b1c (patch)
tree5f339e9ade51a1dff1a5ec866d1375c3ca287f90 /svgio
parentf4ac99f717d7365fc7d1f0adbf72a9bb4d4c8db5 (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 'svgio')
-rw-r--r--svgio/source/svgreader/svgclippathnode.cxx2
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx
index 31ac632d33dc..7f4b4beae8ec 100644
--- a/svgio/source/svgreader/svgclippathnode.cxx
+++ b/svgio/source/svgreader/svgclippathnode.cxx
@@ -148,7 +148,7 @@ namespace svgio::svgreader
if(nSize > 1)
{
// merge to single clipPolyPolygon
- aClipPolyPolygon = basegfx::utils::mergeToSinglePolyPolygon(rResult);
+ aClipPolyPolygon = basegfx::utils::mergeToSinglePolyPolygon(std::vector(rResult));
}
else
{
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 62133fbb11fb..8a61d2e9dfe6 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -303,7 +303,7 @@ namespace svgio::svgreader
if(!aTextFillVector.empty())
{
- aMergedArea = basegfx::utils::mergeToSinglePolyPolygon(aTextFillVector);
+ aMergedArea = basegfx::utils::mergeToSinglePolyPolygon(std::move(aTextFillVector));
}
}
@@ -762,7 +762,7 @@ namespace svgio::svgreader
{
const basegfx::B2DPolyPolygon aMergedArea(
basegfx::utils::mergeToSinglePolyPolygon(
- rLineFillVector));
+ std::vector(rLineFillVector)));
if(aMergedArea.count())
{