diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-13 10:58:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 12:16:23 +0200 |
commit | 139c2e8cbde7e176d184c46583d1b78ef851515a (patch) | |
tree | 1df9c43c20ceaf4a461d9291e7359ddfde129adb /svx/source/xoutdev/_xpoly.cxx | |
parent | 6cbf151fa91ce50f7b1582c6e502a4474ba54b8e (diff) |
loplugin:unusedmethods unused return value in include/svx
Change-Id: I9a5e937905fd71ecbbf9cb215ff6cc2b7defc6f3
Diffstat (limited to 'svx/source/xoutdev/_xpoly.cxx')
-rw-r--r-- | svx/source/xoutdev/_xpoly.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 464a58fdf6e4..3bdea7ef5a4e 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -480,13 +480,6 @@ bool XPolygon::operator==( const XPolygon& rXPoly ) const return *rXPoly.pImpXPolygon == *pImpXPolygon; } -bool XPolygon::operator!=( const XPolygon& rXPoly ) const -{ - pImpXPolygon->CheckPointDelete(); - if (rXPoly.pImpXPolygon==pImpXPolygon) return false; - return *rXPoly.pImpXPolygon != *pImpXPolygon; -} - /// get the flags for the point at the given position XPolyFlags XPolygon::GetFlags( sal_uInt16 nPos ) const { @@ -1052,18 +1045,6 @@ XPolyPolygon& XPolyPolygon::operator=( const XPolyPolygon& rXPolyPoly ) return *this; } -bool XPolyPolygon::operator==( const XPolyPolygon& rXPolyPoly ) const -{ - if (pImpXPolyPolygon==rXPolyPoly.pImpXPolyPolygon) return true; - return *pImpXPolyPolygon == *rXPolyPoly.pImpXPolyPolygon; -} - -bool XPolyPolygon::operator!=( const XPolyPolygon& rXPolyPoly ) const -{ - if (pImpXPolyPolygon==rXPolyPoly.pImpXPolyPolygon) return false; - return *pImpXPolyPolygon != *rXPolyPoly.pImpXPolyPolygon; -} - /** * Distort a polygon by scaling its coordinates relative to a reference * rectangle into an arbitrary rectangle. |