diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 15:06:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 06:33:23 +0000 |
commit | c2b48a763df113e63e6a27ee05b9a6834e4e49a4 (patch) | |
tree | 9a0c2468b6fd36c6ac8104c88c82ebd8ddd82143 /svx/source/table | |
parent | loplugin:expandablemethodds in svgio (diff) | |
download | core-c2b48a763df113e63e6a27ee05b9a6834e4e49a4.tar.gz core-c2b48a763df113e63e6a27ee05b9a6834e4e49a4.zip |
loplugin:expandablemethodds in svx
Change-Id: I45447b6f5cf7e17d6e81e8c931b07b26d41b9a8c
Reviewed-on: https://gerrit.libreoffice.org/30057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/viewcontactoftableobj.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/svx/source/table/viewcontactoftableobj.cxx b/svx/source/table/viewcontactoftableobj.cxx index c97192b19339..0b8ee3c2d720 100644 --- a/svx/source/table/viewcontactoftableobj.cxx +++ b/svx/source/table/viewcontactoftableobj.cxx @@ -224,10 +224,6 @@ namespace drawinglayer const SvxBorderLine& getBottomLine() const { return maBottomLine; } const SvxBorderLine& getRightLine() const { return maRightLine; } const SvxBorderLine& getTopLine() const { return maTopLine; } - bool getLeftIsOutside() const { return mbLeftIsOutside; } - bool getBottomIsOutside() const { return mbBottomIsOutside; } - bool getRightIsOutside() const { return mbRightIsOutside; } - bool getTopIsOutside() const { return mbTopIsOutside; } // compare operator virtual bool operator==(const BasePrimitive2D& rPrimitive) const override; @@ -325,7 +321,7 @@ namespace drawinglayer } } - if(!getBottomLine().isEmpty() && getBottomIsOutside()) + if(!getBottomLine().isEmpty() && mbBottomIsOutside) { // create bottom line from left to right const basegfx::B2DPoint aStart(getTransform() * basegfx::B2DPoint(0.0, 1.0)); @@ -446,10 +442,10 @@ namespace drawinglayer && maTopFromRLine == rCompare.maTopFromRLine && maBottomFromLLine == rCompare.maBottomFromLLine && maBottomFromRLine == rCompare.maBottomFromRLine - && getLeftIsOutside() == rCompare.getLeftIsOutside() - && getBottomIsOutside() == rCompare.getBottomIsOutside() - && getRightIsOutside() == rCompare.getRightIsOutside() - && getTopIsOutside() == rCompare.getTopIsOutside()); + && mbLeftIsOutside == rCompare.mbLeftIsOutside + && mbBottomIsOutside == rCompare.mbBottomIsOutside + && mbRightIsOutside == rCompare.mbRightIsOutside + && mbTopIsOutside == rCompare.mbTopIsOutside); } return false; |