summaryrefslogtreecommitdiff
path: root/svgio/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-05 18:46:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-06 07:13:56 +0200
commitcf739db1d6261c43b5b28c6795a4b5b30156478f (patch)
treec098d6e16440a7f938d145d324421ec6c3e10d0d /svgio/source
parent547d8dacffc87586597d43e0e0378b4bb86b67a8 (diff)
loplugin:moveparam in drawinglayer
Change-Id: I428116d96a011b061dda8376b6f27fb135a62964 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123114 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source')
-rw-r--r--svgio/source/svgreader/svgcharacternode.cxx4
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index d561a447384f..af03919ccde3 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -431,7 +431,7 @@ namespace svgio::svgreader
getText(),
nIndex,
nLength,
- aTextArray,
+ std::move(aTextArray),
aFontAttribute,
aLocale,
aFill,
@@ -459,7 +459,7 @@ namespace svgio::svgreader
getText(),
nIndex,
nLength,
- aTextArray,
+ std::move(aTextArray),
aFontAttribute,
aLocale,
aFill);
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 3ad148c4624c..62133fbb11fb 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -398,7 +398,7 @@ namespace svgio::svgreader
new drawinglayer::primitive2d::SvgLinearGradientPrimitive2D(
aGradientTransform,
rPath,
- aSvgGradientEntryVector,
+ std::move(aSvgGradientEntryVector),
aStart,
aEnd,
SvgUnits::userSpaceOnUse != rFillGradient.getGradientUnits(),
@@ -459,7 +459,7 @@ namespace svgio::svgreader
new drawinglayer::primitive2d::SvgRadialGradientPrimitive2D(
aGradientTransform,
rPath,
- aSvgGradientEntryVector,
+ std::move(aSvgGradientEntryVector),
aStart,
fRadius,
SvgUnits::userSpaceOnUse != rFillGradient.getGradientUnits(),
@@ -734,7 +734,7 @@ namespace svgio::svgreader
}
else
{
- const drawinglayer::attribute::StrokeAttribute aStrokeAttribute(aDashArray);
+ const drawinglayer::attribute::StrokeAttribute aStrokeAttribute(std::move(aDashArray));
aNewLinePrimitive = new drawinglayer::primitive2d::PolyPolygonStrokePrimitive2D(
rPath,