diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-08 19:32:14 -0500 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:59:42 +0100 |
commit | 03c6479fd3227129e4f496a4ac2a5fdf7bed44c1 (patch) | |
tree | ce0605c5d2e5d56f332c969b15a9a4720e8b0c79 /basegfx | |
parent | 60c506a97fa850baba1fafdfc35af73808b03060 (diff) |
basegfx: Solve crossovers even if there is only one polygon in the polypolygon
Change-Id: If4fcb8a2c6ac40a4d694522ce4ed020bcb4466b8
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |