diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-02 08:37:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-06 10:17:02 +0200 |
commit | 7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 (patch) | |
tree | 62bae1461c0388af6f7a8bebbf134e9a86c92153 /include/svx/framelink.hxx | |
parent | d7f2db4b9ce445afdcabf370497bc66db76efbbc (diff) |
loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
Diffstat (limited to 'include/svx/framelink.hxx')
-rw-r--r-- | include/svx/framelink.hxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index e64f1ce5e985..17fc58b791a1 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -173,10 +173,8 @@ private: bool operator==( const Style& rL, const Style& rR ); SVX_DLLPUBLIC bool operator<( const Style& rL, const Style& rR ); -inline bool operator!=( const Style& rL, const Style& rR ) { return !(rL == rR); } inline bool operator>( const Style& rL, const Style& rR ) { return rR < rL; } inline bool operator<=( const Style& rL, const Style& rR ) { return !(rR < rL); } -inline bool operator>=( const Style& rL, const Style& rR ) { return !(rL < rR); } @@ -219,24 +217,6 @@ SVX_DLLPUBLIC double GetHorDiagAngle( long nWidth, long nHeight ); /** Returns the angle between horizontal border of a rectangle and its diagonal. The returned values represents the inner angle between the diagonals and - horizontal borders, and is therefore in the range [0,PI/2] (inclusive). The - passed rectangle positions may be unordered, they are adjusted internally. - */ -inline double GetHorDiagAngle( long nX1, long nX2, long nY1, long nY2 ) -{ return GetHorDiagAngle( nX2 - nX1, nY2 - nY1 ); } - -/** Returns the angle between horizontal border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and - horizontal borders, and is therefore in the range [0,PI/2] (inclusive). The - passed rectangle edges may be unordered, they are adjusted internally. - */ -inline double GetHorDiagAngle( const Point& rP1, const Point& rP2 ) -{ return GetHorDiagAngle( rP2.X() - rP1.X(), rP2.Y() - rP1.Y() ); } - -/** Returns the angle between horizontal border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and horizontal borders, and is therefore in the range [0,PI/2] (inclusive). */ inline double GetHorDiagAngle( const Rectangle& rRect ) @@ -256,24 +236,6 @@ inline double GetVerDiagAngle( long nWidth, long nHeight ) /** Returns the angle between vertical border of a rectangle and its diagonal. The returned values represents the inner angle between the diagonals and - vertical borders, and is therefore in the range [0,PI/2] (inclusive). The - passed rectangle positions may be unordered, they are adjusted internally. - */ -inline double GetVerDiagAngle( long nX1, long nX2, long nY1, long nY2 ) -{ return GetVerDiagAngle( nX2 - nX1, nY2 - nY1 ); } - -/** Returns the angle between vertical border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and - vertical borders, and is therefore in the range [0,PI/2] (inclusive). The - passed rectangle edges may be unordered, they are adjusted internally. - */ -inline double GetVerDiagAngle( const Point& rP1, const Point& rP2 ) -{ return GetVerDiagAngle( rP2.X() - rP1.X(), rP2.Y() - rP1.Y() ); } - -/** Returns the angle between vertical border of a rectangle and its diagonal. - - The returned values represents the inner angle between the diagonals and vertical borders, and is therefore in the range [0,PI/2] (inclusive). */ inline double GetVerDiagAngle( const Rectangle& rRect ) |