summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-28 08:39:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-30 06:23:00 +0000
commita45827b2308febc7369db27fb489a6d1389534e1 (patch)
tree0b697341738010da35bd0a6a6189ef6761e5db0a /tools/source/generic/poly2.cxx
parent2387c2a46e15995686d28dccdfd455012072b4cf (diff)
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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" );