diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 13:27:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 06:30:48 +0000 |
commit | ef637a1c4e16eb9228b6d5e01fc670c4d24afb9b (patch) | |
tree | ed4b8e9c3bbe97d444bac3e61d319c3b8ee2c225 /drawinglayer | |
parent | 834809dbbef60de6677b80e26753c55c4edf96c2 (diff) |
loplugin:expandablemethodds in dbaccess..drawinglayer
Change-Id: Iee9143999f5c94040dadd378006f2a429ca0edb5
Reviewed-on: https://gerrit.libreoffice.org/30012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/attribute/sdrfillgraphicattribute.cxx | 3 | ||||
-rw-r--r-- | drawinglayer/source/attribute/sdrsceneattribute3d.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx index e7b8c1f6b338..09398e5cd15f 100644 --- a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx +++ b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx @@ -86,7 +86,6 @@ namespace drawinglayer const basegfx::B2DVector& getRectPoint() const { return maRectPoint; } bool getTiling() const { return mbTiling; } bool getStretch() const { return mbStretch; } - bool getLogSize() const { return mbLogSize; } bool operator==(const ImpSdrFillGraphicAttribute& rCandidate) const { @@ -98,7 +97,7 @@ namespace drawinglayer && getRectPoint() == rCandidate.getRectPoint() && getTiling() == rCandidate.getTiling() && getStretch() == rCandidate.getStretch() - && getLogSize() == rCandidate.getLogSize()); + && mbLogSize == rCandidate.mbLogSize); } }; diff --git a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx index d6e49921776c..f08b088decb9 100644 --- a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx +++ b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx @@ -61,7 +61,6 @@ namespace drawinglayer } // data read access - double getDistance() const { return mfDistance; } double getShadowSlant() const { return mfShadowSlant; } css::drawing::ProjectionMode getProjectionMode() const { return maProjectionMode; } css::drawing::ShadeMode getShadeMode() const { return maShadeMode; } @@ -69,7 +68,7 @@ namespace drawinglayer bool operator==(const ImpSdrSceneAttribute& rCandidate) const { - return (getDistance() == rCandidate.getDistance() + return (mfDistance == rCandidate.mfDistance && getShadowSlant() == rCandidate.getShadowSlant() && getProjectionMode() == rCandidate.getProjectionMode() && getShadeMode() == rCandidate.getShadeMode() |