diff options
Diffstat (limited to 'tools/source/generic/poly.cxx')
-rw-r--r-- | tools/source/generic/poly.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index d8e4640e3f65..5af6fe04abbd 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1506,11 +1506,7 @@ tools::Polygon& Polygon::operator=( tools::Polygon&& rPoly ) bool Polygon::operator==( const tools::Polygon& rPoly ) const { - - if ( (rPoly.mpImplPolygon == mpImplPolygon) ) - return true; - else - return false; + return rPoly.mpImplPolygon == mpImplPolygon; } bool Polygon::IsEqual( const tools::Polygon& rPoly ) const |