From 34fa29ed4c0fa73d3e07e62cb6ca2577ee115b35 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 22 Apr 2014 18:30:03 +0200 Subject: Remove unused basegfx::tools::containsOnlyHorizontalAndVerticalEdges Change-Id: I8a8b7a5b47cd9e566c1b3154a527c78a8fcbd7df --- basegfx/source/polygon/b2dpolypolygontools.cxx | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'basegfx') diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx index 35bc6ed14d47..f904d645bdf3 100644 --- a/basegfx/source/polygon/b2dpolypolygontools.cxx +++ b/basegfx/source/polygon/b2dpolypolygontools.cxx @@ -497,24 +497,6 @@ namespace basegfx return aRetval; } - bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate) - { - if(rCandidate.areControlPointsUsed()) - { - return false; - } - - for(sal_uInt32 a(0); a < rCandidate.count(); a++) - { - if(!containsOnlyHorizontalAndVerticalEdges(rCandidate.getB2DPolygon(a))) - { - return false; - } - } - - return true; - } - B2DPolyPolygon createSevenSegmentPolyPolygon(sal_Char nNumber, bool bLitSegments) { // config here -- cgit