diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-01-28 20:18:12 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-29 07:32:42 +0100 |
commit | 8010abe4ab300f966b878b64ccc8733e3ea3cbc4 (patch) | |
tree | cba3b818a0c0d35eff21280903532b177f759f03 /include | |
parent | 9eece764a75020623f9723b61fff75faa446b098 (diff) |
clang-tidy modernize-use-equals-default in drawinglayer
Change-Id: I2fbcac7a22a881681bc8b84274e7d39f1cec18bf
Reviewed-on: https://gerrit.libreoffice.org/48800
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
18 files changed, 60 insertions, 60 deletions
diff --git a/include/drawinglayer/attribute/fillgradientattribute.hxx b/include/drawinglayer/attribute/fillgradientattribute.hxx index 7355b6b461e7..6bea915a8e67 100644 --- a/include/drawinglayer/attribute/fillgradientattribute.hxx +++ b/include/drawinglayer/attribute/fillgradientattribute.hxx @@ -76,10 +76,10 @@ namespace drawinglayer const basegfx::BColor& rEndColor, sal_uInt16 nSteps); FillGradientAttribute(); - FillGradientAttribute(const FillGradientAttribute& rCandidate); - FillGradientAttribute(FillGradientAttribute&& rCandidate); - FillGradientAttribute& operator=(const FillGradientAttribute& rCandidate); - FillGradientAttribute& operator=(FillGradientAttribute&& rCandidate); + FillGradientAttribute(const FillGradientAttribute&); + FillGradientAttribute(FillGradientAttribute&&); + FillGradientAttribute& operator=(const FillGradientAttribute&); + FillGradientAttribute& operator=(FillGradientAttribute&&); ~FillGradientAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/fillgraphicattribute.hxx b/include/drawinglayer/attribute/fillgraphicattribute.hxx index a2a217445950..971241f5469a 100644 --- a/include/drawinglayer/attribute/fillgraphicattribute.hxx +++ b/include/drawinglayer/attribute/fillgraphicattribute.hxx @@ -56,8 +56,8 @@ namespace drawinglayer bool bTiling, double fOffsetX = 0.0, double fOffsetY = 0.0); - FillGraphicAttribute(const FillGraphicAttribute& rCandidate); - FillGraphicAttribute& operator=(const FillGraphicAttribute& rCandidate); + FillGraphicAttribute(const FillGraphicAttribute&); + FillGraphicAttribute& operator=(const FillGraphicAttribute&); ~FillGraphicAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/fillhatchattribute.hxx b/include/drawinglayer/attribute/fillhatchattribute.hxx index 1d08d60e54c2..a4ffe4b656a7 100644 --- a/include/drawinglayer/attribute/fillhatchattribute.hxx +++ b/include/drawinglayer/attribute/fillhatchattribute.hxx @@ -71,10 +71,10 @@ namespace drawinglayer sal_uInt32 nMinimalDiscreteDistance, bool bFillBackground); FillHatchAttribute(); - FillHatchAttribute(const FillHatchAttribute& rCandidate); - FillHatchAttribute(FillHatchAttribute&& rCandidate); - FillHatchAttribute& operator=(const FillHatchAttribute& rCandidate); - FillHatchAttribute& operator=(FillHatchAttribute&& rCandidate); + FillHatchAttribute(const FillHatchAttribute&); + FillHatchAttribute(FillHatchAttribute&&); + FillHatchAttribute& operator=(const FillHatchAttribute&); + FillHatchAttribute& operator=(FillHatchAttribute&&); ~FillHatchAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/fontattribute.hxx b/include/drawinglayer/attribute/fontattribute.hxx index 5b2e791c69f8..5308ababbd24 100644 --- a/include/drawinglayer/attribute/fontattribute.hxx +++ b/include/drawinglayer/attribute/fontattribute.hxx @@ -67,10 +67,10 @@ namespace drawinglayer bool bRTL = false, bool bBiDiStrong = false); FontAttribute(); - FontAttribute(const FontAttribute& rCandidate); - FontAttribute(FontAttribute&& rCandidate); - FontAttribute& operator=(const FontAttribute& rCandidate); - FontAttribute& operator=(FontAttribute&& rCandidate); + FontAttribute(const FontAttribute&); + FontAttribute(FontAttribute&&); + FontAttribute& operator=(const FontAttribute&); + FontAttribute& operator=(FontAttribute&&); ~FontAttribute(); // compare operator diff --git a/include/drawinglayer/attribute/lineattribute.hxx b/include/drawinglayer/attribute/lineattribute.hxx index a2ad66d5fe3f..487dbcccf66b 100644 --- a/include/drawinglayer/attribute/lineattribute.hxx +++ b/include/drawinglayer/attribute/lineattribute.hxx @@ -60,8 +60,8 @@ namespace drawinglayer css::drawing::LineCap aLineCap = css::drawing::LineCap_BUTT, double fMiterMinimumAngle = 15.0 * F_PI180); LineAttribute(); - LineAttribute(const LineAttribute& rCandidate); - LineAttribute& operator=(const LineAttribute& rCandidate); + LineAttribute(const LineAttribute&); + LineAttribute& operator=(const LineAttribute&); ~LineAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/linestartendattribute.hxx b/include/drawinglayer/attribute/linestartendattribute.hxx index 8f348bef5841..1de23c832bd7 100644 --- a/include/drawinglayer/attribute/linestartendattribute.hxx +++ b/include/drawinglayer/attribute/linestartendattribute.hxx @@ -54,8 +54,8 @@ namespace drawinglayer const basegfx::B2DPolyPolygon& rPolyPolygon, bool bCentered); LineStartEndAttribute(); - LineStartEndAttribute(const LineStartEndAttribute& rCandidate); - LineStartEndAttribute& operator=(const LineStartEndAttribute& rCandidate); + LineStartEndAttribute(const LineStartEndAttribute&); + LineStartEndAttribute& operator=(const LineStartEndAttribute&); ~LineStartEndAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/materialattribute3d.hxx b/include/drawinglayer/attribute/materialattribute3d.hxx index db144b7a030a..be98af3095bd 100644 --- a/include/drawinglayer/attribute/materialattribute3d.hxx +++ b/include/drawinglayer/attribute/materialattribute3d.hxx @@ -56,11 +56,11 @@ namespace drawinglayer sal_uInt16 nSpecularIntensity); MaterialAttribute3D(const basegfx::BColor& rColor); MaterialAttribute3D(); - MaterialAttribute3D(const MaterialAttribute3D& rCandidate); + MaterialAttribute3D(const MaterialAttribute3D&); ~MaterialAttribute3D(); // assignment operator - MaterialAttribute3D& operator=(const MaterialAttribute3D& rCandidate); + MaterialAttribute3D& operator=(const MaterialAttribute3D&); // compare operator bool operator==(const MaterialAttribute3D& rCandidate) const; diff --git a/include/drawinglayer/attribute/sdrfillattribute.hxx b/include/drawinglayer/attribute/sdrfillattribute.hxx index cb7125725559..54567bb1885c 100644 --- a/include/drawinglayer/attribute/sdrfillattribute.hxx +++ b/include/drawinglayer/attribute/sdrfillattribute.hxx @@ -59,10 +59,10 @@ namespace drawinglayer const FillHatchAttribute& rHatch, const SdrFillGraphicAttribute& rFillGraphic); SdrFillAttribute(); - SdrFillAttribute(const SdrFillAttribute& rCandidate); - SdrFillAttribute(SdrFillAttribute&& rCandidate); - SdrFillAttribute& operator=(const SdrFillAttribute& rCandidate); - SdrFillAttribute& operator=(SdrFillAttribute&& rCandidate); + SdrFillAttribute(const SdrFillAttribute&); + SdrFillAttribute(SdrFillAttribute&&); + SdrFillAttribute& operator=(const SdrFillAttribute&); + SdrFillAttribute& operator=(SdrFillAttribute&&); ~SdrFillAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx index 60e76d87af8c..caebc4adf544 100644 --- a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx +++ b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx @@ -63,10 +63,10 @@ namespace drawinglayer bool bStretch, bool bLogSize); SdrFillGraphicAttribute(); - SdrFillGraphicAttribute(const SdrFillGraphicAttribute& rCandidate); - SdrFillGraphicAttribute(SdrFillGraphicAttribute&& rCandidate); - SdrFillGraphicAttribute& operator=(const SdrFillGraphicAttribute& rCandidate); - SdrFillGraphicAttribute& operator=(SdrFillGraphicAttribute&& rCandidate); + SdrFillGraphicAttribute(const SdrFillGraphicAttribute&); + SdrFillGraphicAttribute(SdrFillGraphicAttribute&&); + SdrFillGraphicAttribute& operator=(const SdrFillGraphicAttribute&); + SdrFillGraphicAttribute& operator=(SdrFillGraphicAttribute&&); ~SdrFillGraphicAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/sdrlightattribute3d.hxx b/include/drawinglayer/attribute/sdrlightattribute3d.hxx index 3d91e54d7189..31ee658b3b37 100644 --- a/include/drawinglayer/attribute/sdrlightattribute3d.hxx +++ b/include/drawinglayer/attribute/sdrlightattribute3d.hxx @@ -54,11 +54,11 @@ namespace drawinglayer const basegfx::BColor& rColor, const basegfx::B3DVector& rDirection, bool bSpecular); - Sdr3DLightAttribute(const Sdr3DLightAttribute& rCandidate); + Sdr3DLightAttribute(const Sdr3DLightAttribute&); ~Sdr3DLightAttribute(); // assignment operator - Sdr3DLightAttribute& operator=(const Sdr3DLightAttribute& rCandidate); + Sdr3DLightAttribute& operator=(const Sdr3DLightAttribute&); // compare operator bool operator==(const Sdr3DLightAttribute& rCandidate) const; diff --git a/include/drawinglayer/attribute/sdrlineattribute.hxx b/include/drawinglayer/attribute/sdrlineattribute.hxx index f57289da0c69..59c9985f1b27 100644 --- a/include/drawinglayer/attribute/sdrlineattribute.hxx +++ b/include/drawinglayer/attribute/sdrlineattribute.hxx @@ -61,10 +61,10 @@ namespace drawinglayer const ::std::vector< double >& rDotDashArray, double fFullDotDashLen); SdrLineAttribute(); - SdrLineAttribute(const SdrLineAttribute& rCandidate); - SdrLineAttribute(SdrLineAttribute&& rCandidate); - SdrLineAttribute& operator=(const SdrLineAttribute& rCandidate); - SdrLineAttribute& operator=(SdrLineAttribute&& rCandidate); + SdrLineAttribute(const SdrLineAttribute&); + SdrLineAttribute(SdrLineAttribute&&); + SdrLineAttribute& operator=(const SdrLineAttribute&); + SdrLineAttribute& operator=(SdrLineAttribute&&); ~SdrLineAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/sdrlinestartendattribute.hxx b/include/drawinglayer/attribute/sdrlinestartendattribute.hxx index e89e74861917..8c14bc24ebda 100644 --- a/include/drawinglayer/attribute/sdrlinestartendattribute.hxx +++ b/include/drawinglayer/attribute/sdrlinestartendattribute.hxx @@ -59,10 +59,10 @@ namespace drawinglayer bool bStartCentered, bool bEndCentered); SdrLineStartEndAttribute(); - SdrLineStartEndAttribute(const SdrLineStartEndAttribute& rCandidate); - SdrLineStartEndAttribute(SdrLineStartEndAttribute&& rCandidate); - SdrLineStartEndAttribute& operator=(const SdrLineStartEndAttribute& rCandidate); - SdrLineStartEndAttribute& operator=(SdrLineStartEndAttribute&& rCandidate); + SdrLineStartEndAttribute(const SdrLineStartEndAttribute&); + SdrLineStartEndAttribute(SdrLineStartEndAttribute&&); + SdrLineStartEndAttribute& operator=(const SdrLineStartEndAttribute&); + SdrLineStartEndAttribute& operator=(SdrLineStartEndAttribute&&); ~SdrLineStartEndAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx index b4ea75bfbf87..f0a325d604ad 100644 --- a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx +++ b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx @@ -63,11 +63,11 @@ namespace drawinglayer bool bShadow3D, bool bTextureFilter, bool bReducedLineGeometry); - Sdr3DObjectAttribute(const Sdr3DObjectAttribute& rCandidate); + Sdr3DObjectAttribute(const Sdr3DObjectAttribute&); ~Sdr3DObjectAttribute(); // assignment operator - Sdr3DObjectAttribute& operator=(const Sdr3DObjectAttribute& rCandidate); + Sdr3DObjectAttribute& operator=(const Sdr3DObjectAttribute&); // compare operator bool operator==(const Sdr3DObjectAttribute& rCandidate) const; diff --git a/include/drawinglayer/attribute/sdrsceneattribute3d.hxx b/include/drawinglayer/attribute/sdrsceneattribute3d.hxx index e25ed77cce15..1e18788b8172 100644 --- a/include/drawinglayer/attribute/sdrsceneattribute3d.hxx +++ b/include/drawinglayer/attribute/sdrsceneattribute3d.hxx @@ -55,10 +55,10 @@ namespace drawinglayer css::drawing::ShadeMode aShadeMode, bool bTwoSidedLighting); SdrSceneAttribute(); - SdrSceneAttribute(const SdrSceneAttribute& rCandidate); - SdrSceneAttribute(SdrSceneAttribute&& rCandidate); - SdrSceneAttribute& operator=(const SdrSceneAttribute& rCandidate); - SdrSceneAttribute& operator=(SdrSceneAttribute&& rCandidate); + SdrSceneAttribute(const SdrSceneAttribute&); + SdrSceneAttribute(SdrSceneAttribute&&); + SdrSceneAttribute& operator=(const SdrSceneAttribute&); + SdrSceneAttribute& operator=(SdrSceneAttribute&&); ~SdrSceneAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/sdrshadowattribute.hxx b/include/drawinglayer/attribute/sdrshadowattribute.hxx index 2bb7c13b1bbb..39b5acf59b73 100644 --- a/include/drawinglayer/attribute/sdrshadowattribute.hxx +++ b/include/drawinglayer/attribute/sdrshadowattribute.hxx @@ -55,10 +55,10 @@ namespace drawinglayer double fTransparence, const basegfx::BColor& rColor); SdrShadowAttribute(); - SdrShadowAttribute(const SdrShadowAttribute& rCandidate); - SdrShadowAttribute(SdrShadowAttribute&& rCandidate); - SdrShadowAttribute& operator=(const SdrShadowAttribute& rCandidate); - SdrShadowAttribute& operator=(SdrShadowAttribute&& rCandidate); + SdrShadowAttribute(const SdrShadowAttribute&); + SdrShadowAttribute(SdrShadowAttribute&&); + SdrShadowAttribute& operator=(const SdrShadowAttribute&); + SdrShadowAttribute& operator=(SdrShadowAttribute&&); ~SdrShadowAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/attribute/strokeattribute.hxx b/include/drawinglayer/attribute/strokeattribute.hxx index 5404158b661c..40e15707b25f 100644 --- a/include/drawinglayer/attribute/strokeattribute.hxx +++ b/include/drawinglayer/attribute/strokeattribute.hxx @@ -50,10 +50,10 @@ namespace drawinglayer const ::std::vector< double >& rDotDashArray, double fFullDotDashLen = 0.0); StrokeAttribute(); - StrokeAttribute(const StrokeAttribute& rCandidate); - StrokeAttribute(StrokeAttribute&& rCandidate); - StrokeAttribute& operator=(const StrokeAttribute& rCandidate); - StrokeAttribute& operator=(StrokeAttribute&& rCandidate); + StrokeAttribute(const StrokeAttribute&); + StrokeAttribute(StrokeAttribute&&); + StrokeAttribute& operator=(const StrokeAttribute&); + StrokeAttribute& operator=(StrokeAttribute&&); ~StrokeAttribute(); // checks if the incarnation is default constructed diff --git a/include/drawinglayer/geometry/viewinformation2d.hxx b/include/drawinglayer/geometry/viewinformation2d.hxx index 08ec2597296e..8769a260f3ef 100644 --- a/include/drawinglayer/geometry/viewinformation2d.hxx +++ b/include/drawinglayer/geometry/viewinformation2d.hxx @@ -112,16 +112,16 @@ namespace drawinglayer ViewInformation2D(); /// copy constructor - ViewInformation2D(const ViewInformation2D& rCandidate); + ViewInformation2D(const ViewInformation2D&); - ViewInformation2D(ViewInformation2D&& rCandidate); + ViewInformation2D(ViewInformation2D&&); /// destructor ~ViewInformation2D(); /// assignment operator - ViewInformation2D& operator=(const ViewInformation2D& rCandidate); - ViewInformation2D& operator=(ViewInformation2D&& rCandidate); + ViewInformation2D& operator=(const ViewInformation2D&); + ViewInformation2D& operator=(ViewInformation2D&&); /// compare operators bool operator==(const ViewInformation2D& rCandidate) const; diff --git a/include/drawinglayer/geometry/viewinformation3d.hxx b/include/drawinglayer/geometry/viewinformation3d.hxx index 4d2f82652741..dc3889d87351 100644 --- a/include/drawinglayer/geometry/viewinformation3d.hxx +++ b/include/drawinglayer/geometry/viewinformation3d.hxx @@ -117,9 +117,9 @@ namespace drawinglayer ViewInformation3D(); /// copy constructor - ViewInformation3D(const ViewInformation3D& rCandidate); + ViewInformation3D(const ViewInformation3D&); - ViewInformation3D(ViewInformation3D&& rCandidate); + ViewInformation3D(ViewInformation3D&&); /// destructor ~ViewInformation3D(); @@ -128,8 +128,8 @@ namespace drawinglayer bool isDefault() const; /// assignment operator - ViewInformation3D& operator=(const ViewInformation3D& rCandidate); - ViewInformation3D& operator=(ViewInformation3D&& rCandidate); + ViewInformation3D& operator=(const ViewInformation3D&); + ViewInformation3D& operator=(ViewInformation3D&&); /// compare operators bool operator==(const ViewInformation3D& rCandidate) const; |