summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly2.cxx')
-rw-r--r--tools/source/generic/poly2.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index d1dddb17733a..1d36c654d065 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -549,26 +549,6 @@ bool PolyPolygon::operator==( const tools::PolyPolygon& rPolyPoly ) const
return false;
}
-bool PolyPolygon::IsEqual( const tools::PolyPolygon& rPolyPoly ) const
-{
- bool bIsEqual = true;
- if ( Count() != rPolyPoly.Count() )
- bIsEqual = false;
- else
- {
- sal_uInt16 i;
- for ( i = 0; i < Count(); i++ )
- {
- if (!GetObject( i ).IsEqual( rPolyPoly.GetObject( i ) ) )
- {
- bIsEqual = false;
- break;
- }
- }
- }
- return bIsEqual;
-}
-
SvStream& ReadPolyPolygon( SvStream& rIStream, tools::PolyPolygon& rPolyPoly )
{
DBG_ASSERTWARNING( rIStream.GetVersion(), "PolyPolygon::>> - Solar-Version not set on rIStream" );