summaryrefslogtreecommitdiff
path: root/sw/inc/swrect.hxx
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2016-12-09 20:17:09 +0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-11 11:12:00 +0000
commit611354a1c2e8281a80a1c3f5076a6c4593a4fe10 (patch)
treeedc10fa65e6f9533099a5a5e77379068bca29797 /sw/inc/swrect.hxx
parent1d0f3649ba271a439ab38d35ce02462561cc9caa (diff)
tdf#101729 recover fnGetSize,fnLeftDist,fnRightDist,fnXInc
Above field of struct SwRectFnCollection were removed because of loplugin:unusedfields. I can't find them refered in the source code but they do affect alignments. Also append correspoinding member functions for SwRectFnSet. Partially recover d2df03574023b379ac09b1f71cae9e3ba3ac53e2 and e18b08363a939b35e7f5dc435e606d2c62bddebd. Change-Id: I38f2b7a31565773b749cfeb1f47574c390d38527 Reviewed-on: https://gerrit.libreoffice.org/31795 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swrect.hxx')
-rw-r--r--sw/inc/swrect.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 2e0b0b2664e2..9bb254515bf2 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -132,10 +132,12 @@ public:
void SetUpperLeftCorner( const Point& rNew );
void SetUpperRightCorner( const Point& rNew );
void SetLowerLeftCorner( const Point& rNew );
+ const Size Size_() const;
const Point TopLeft() const;
const Point TopRight() const;
const Point BottomLeft() const;
const Point BottomRight() const;
+ const Size SwappedSize() const;
long GetLeftDistance( long ) const;
long GetBottomDistance( long ) const;
long GetRightDistance( long ) const;