summaryrefslogtreecommitdiff
path: root/include/drawinglayer
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 /include/drawinglayer
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 'include/drawinglayer')
-rw-r--r--include/drawinglayer/attribute/sdrlightingattribute3d.hxx2
-rw-r--r--include/drawinglayer/attribute/sdrlineattribute.hxx2
-rw-r--r--include/drawinglayer/attribute/strokeattribute.hxx3
-rw-r--r--include/drawinglayer/primitive2d/borderlineprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/svggradientprimitive2d.hxx6
-rw-r--r--include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/textprimitive2d.hxx2
9 files changed, 11 insertions, 12 deletions
diff --git a/include/drawinglayer/attribute/sdrlightingattribute3d.hxx b/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
index 95ef197b98fd..d7557ebbd45a 100644
--- a/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
@@ -53,7 +53,7 @@ namespace drawinglayer::attribute
/// constructors/assignmentoperator/destructor
SdrLightingAttribute(
const basegfx::BColor& rAmbientLight,
- const ::std::vector< Sdr3DLightAttribute >& rLightVector);
+ std::vector< Sdr3DLightAttribute >&& rLightVector);
SdrLightingAttribute();
SdrLightingAttribute(const SdrLightingAttribute& rCandidate);
SdrLightingAttribute(SdrLightingAttribute&& rCandidate);
diff --git a/include/drawinglayer/attribute/sdrlineattribute.hxx b/include/drawinglayer/attribute/sdrlineattribute.hxx
index e638c2fd38ee..2fa9c39f0938 100644
--- a/include/drawinglayer/attribute/sdrlineattribute.hxx
+++ b/include/drawinglayer/attribute/sdrlineattribute.hxx
@@ -56,7 +56,7 @@ namespace drawinglayer::attribute
double fTransparence,
const basegfx::BColor& rColor,
css::drawing::LineCap eCap,
- const ::std::vector< double >& rDotDashArray,
+ std::vector< double >&& rDotDashArray,
double fFullDotDashLen);
SdrLineAttribute();
SdrLineAttribute(const SdrLineAttribute&);
diff --git a/include/drawinglayer/attribute/strokeattribute.hxx b/include/drawinglayer/attribute/strokeattribute.hxx
index d5d825c54710..163a137cba82 100644
--- a/include/drawinglayer/attribute/strokeattribute.hxx
+++ b/include/drawinglayer/attribute/strokeattribute.hxx
@@ -40,8 +40,7 @@ private:
public:
/// constructors/assignmentoperator/destructor
- explicit StrokeAttribute(const ::std::vector<double>& rDotDashArray,
- double fFullDotDashLen = 0.0);
+ explicit StrokeAttribute(std::vector<double>&& rDotDashArray, double fFullDotDashLen = 0.0);
StrokeAttribute();
StrokeAttribute(const StrokeAttribute&);
StrokeAttribute(StrokeAttribute&&);
diff --git a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
index 1dc857ec357e..fe4580d079a4 100644
--- a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx
@@ -113,7 +113,7 @@ private:
public:
/// simplified constructor for BorderLine with single edge
BorderLinePrimitive2D(const basegfx::B2DPoint& rStart, const basegfx::B2DPoint& rEnd,
- const std::vector<BorderLine>& rBorderLines,
+ std::vector<BorderLine>&& rBorderLines,
const drawinglayer::attribute::StrokeAttribute& rStrokeAttribute);
/// data read access
diff --git a/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx b/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx
index 1e09278fe62d..40f6236cf218 100644
--- a/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/markerarrayprimitive2d.hxx
@@ -57,7 +57,7 @@ namespace drawinglayer::primitive2d
public:
/// constructor
MarkerArrayPrimitive2D(
- const std::vector< basegfx::B2DPoint >& rPositions,
+ std::vector< basegfx::B2DPoint >&& rPositions,
const BitmapEx& rMarker);
/// data read access
diff --git a/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx b/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
index 7e516555162a..a2eb5f611d6e 100644
--- a/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx
@@ -52,7 +52,7 @@ namespace drawinglayer::primitive2d
public:
/// constructor
PointArrayPrimitive2D(
- const std::vector< basegfx::B2DPoint >& rPositions,
+ std::vector< basegfx::B2DPoint >&& rPositions,
const basegfx::BColor& rRGBColor);
/// data read access
diff --git a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
index f6ed8e8b1508..78667f2d06e3 100644
--- a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx
@@ -149,7 +149,7 @@ namespace drawinglayer::primitive2d
SvgGradientHelper(
const basegfx::B2DHomMatrix& rGradientTransform,
const basegfx::B2DPolyPolygon& rPolyPolygon,
- const SvgGradientEntryVector& rGradientEntries,
+ SvgGradientEntryVector&& rGradientEntries,
const basegfx::B2DPoint& rStart,
bool bUseUnitCoordinates,
SpreadMethod aSpreadMethod);
@@ -192,7 +192,7 @@ namespace drawinglayer::primitive2d
SvgLinearGradientPrimitive2D(
const basegfx::B2DHomMatrix& rGradientTransform,
const basegfx::B2DPolyPolygon& rPolyPolygon,
- const SvgGradientEntryVector& rGradientEntries,
+ SvgGradientEntryVector&& rGradientEntries,
const basegfx::B2DPoint& rStart,
const basegfx::B2DPoint& rEnd,
bool bUseUnitCoordinates,
@@ -244,7 +244,7 @@ namespace drawinglayer::primitive2d
SvgRadialGradientPrimitive2D(
const basegfx::B2DHomMatrix& rGradientTransform,
const basegfx::B2DPolyPolygon& rPolyPolygon,
- const SvgGradientEntryVector& rGradientEntries,
+ SvgGradientEntryVector&& rGradientEntries,
const basegfx::B2DPoint& rStart,
double fRadius,
bool bUseUnitCoordinates,
diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
index 8c852b72246a..8ff500b77efe 100644
--- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
@@ -76,7 +76,7 @@ namespace drawinglayer::primitive2d
const OUString& rText,
sal_Int32 nTextPosition,
sal_Int32 nTextLength,
- const ::std::vector< double >& rDXArray,
+ std::vector< double >&& rDXArray,
const attribute::FontAttribute& rFontAttribute,
const css::lang::Locale& rLocale,
const basegfx::BColor& rFontColor,
diff --git a/include/drawinglayer/primitive2d/textprimitive2d.hxx b/include/drawinglayer/primitive2d/textprimitive2d.hxx
index 22b64928acd4..1c23edafd0ad 100644
--- a/include/drawinglayer/primitive2d/textprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textprimitive2d.hxx
@@ -138,7 +138,7 @@ public:
/// constructor
TextSimplePortionPrimitive2D(const basegfx::B2DHomMatrix& rNewTransform, const OUString& rText,
sal_Int32 nTextPosition, sal_Int32 nTextLength,
- const ::std::vector<double>& rDXArray,
+ std::vector<double>&& rDXArray,
const attribute::FontAttribute& rFontAttribute,
const css::lang::Locale& rLocale,
const basegfx::BColor& rFontColor, bool bFilled = false,