diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-18 09:37:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-21 10:20:31 +0200 |
commit | e18b08363a939b35e7f5dc435e606d2c62bddebd (patch) | |
tree | 6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /include/tools/gen.hxx | |
parent | 20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff) |
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'include/tools/gen.hxx')
-rw-r--r-- | include/tools/gen.hxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index 4cd4e6daad7f..4ea4dc79acaa 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -324,7 +324,6 @@ public: /// Move the top and left edges by a delta, preserving width and height inline void Move( long nHorzMoveDelta, long nVertMoveDelta ); - inline void Transpose(); inline void SetPos( const Point& rPoint ); void SetSize( const Size& rSize ); inline Size GetSize() const; @@ -497,20 +496,6 @@ inline void Rectangle::Move( long nHorzMove, long nVertMove ) nBottom += nVertMove; } -void Rectangle::Transpose() -{ - if ( !IsEmpty() ) - { - long swap( nLeft ); - nLeft = nTop; - nTop = swap; - - swap = nRight; - nRight = nBottom; - nBottom = swap; - } -} - inline void Rectangle::SetPos( const Point& rPoint ) { if ( nRight != RECT_EMPTY ) |