summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-18 09:37:44 +0200
committerNoel Grandin <noel@peralex.com>2015-12-21 10:20:31 +0200
commite18b08363a939b35e7f5dc435e606d2c62bddebd (patch)
tree6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /sw
parent20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff)
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swrect.hxx2
-rw-r--r--sw/source/core/bastyp/swrect.cxx3
2 files changed, 0 insertions, 5 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 47c107400c18..4f9f317881a4 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -131,12 +131,10 @@ 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;
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index fa3bfcd70daa..ed0a7d83df1d 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -173,9 +173,6 @@ void SwRect::AddBottom( const long nAdd ){ m_Size.Height() += nAdd; }
void SwRect::SetPosX( const long nNew ){ m_Point.setX(nNew); }
void SwRect::SetPosY( const long nNew ){ m_Point.setY(nNew); }
-const Size SwRect::_Size() const { return SSize(); }
-const Size SwRect::SwappedSize() const { return Size( m_Size.getHeight(), m_Size.getWidth() ); }
-
const Point SwRect::TopLeft() const { return Pos(); }
const Point SwRect::TopRight() const { return Point( m_Point.getX() + m_Size.getWidth(), m_Point.getY() ); }
const Point SwRect::BottomLeft() const { return Point( m_Point.getX(), m_Point.getY() + m_Size.getHeight() ); }