diff options
Diffstat (limited to 'svgio/source')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 6 |
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, |