summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgstyleattributes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgstyleattributes.cxx')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx6
1 files changed, 3 insertions, 3 deletions
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,