diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-12-30 09:26:17 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-12-30 09:26:17 +0100 |
commit | e67cea929c62609526b65d36945b8dc4abf48be3 (patch) | |
tree | 489ade15c618951831a4badb7fec22633a08a46d /basegfx | |
parent | 8b1c57d474db0dec61e6e6445f883f93143c9ad7 (diff) |
Revert "SVG: add check if polygon is closed"
This reverts commit 0144c952282a4555b7ab0cfcf9d35bf753e5d8cb.
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index bb0b63a7cfc0..b73154308082 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -767,10 +767,6 @@ namespace basegfx if(aCurrPoly.count()) { - const B2DPoint aFirstPoint(aCurrPoly.getB2DPoint(0)); - const B2DPoint aLastPoint(aCurrPoly.getB2DPoint(aCurrPoly.count()-1)); - if ( (aFirstPoint.getX()-aLastPoint.getX())*(aFirstPoint.getX()-aLastPoint.getX()) + - (aFirstPoint.getY()-aLastPoint.getY())*(aFirstPoint.getY()-aLastPoint.getY()) < 1 ) bIsClosed = true; // end-process last poly if(bIsClosed) { |