[Libreoffice-commits] .: basegfx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Dec 30 00:27:07 PST 2012
basegfx/source/polygon/b2dsvgpolypolygon.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit e67cea929c62609526b65d36945b8dc4abf48be3
Author: Chr. Rossmanith <ChrRossmanith at gmx.de>
Date: Sun Dec 30 09:26:17 2012 +0100
Revert "SVG: add check if polygon is closed"
This reverts commit 0144c952282a4555b7ab0cfcf9d35bf753e5d8cb.
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index bb0b63a..b731543 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)
{
More information about the Libreoffice-commits
mailing list