From 03c6479fd3227129e4f496a4ac2a5fdf7bed44c1 Mon Sep 17 00:00:00 2001 From: Louis-Francis Ratté-Boulianne Date: Sat, 8 Nov 2014 19:32:14 -0500 Subject: basegfx: Solve crossovers even if there is only one polygon in the polypolygon Change-Id: If4fcb8a2c6ac40a4d694522ce4ed020bcb4466b8 --- basegfx/source/polygon/b2dpolypolygoncutter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx') diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index aaad33500c21..d9eea58ff92f 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -688,7 +688,7 @@ namespace basegfx B2DPolyPolygon solveCrossovers(const B2DPolyPolygon& rCandidate) { - if(rCandidate.count() > 1L) + if(rCandidate.count() > 0L) { solver aSolver(rCandidate); return aSolver.getB2DPolyPolygon(); -- cgit