You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2013/10/28 12:31:11 UTC
svn commit: r1536316 -
/openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx
Author: alg
Date: Mon Oct 28 11:31:11 2013
New Revision: 1536316
URL: http://svn.apache.org/r1536316
Log:
i123465 no longer correct svg:d imports
Modified:
openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx
Modified: openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx?rev=1536316&r1=1536315&r2=1536316&view=diff
==============================================================================
--- openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx (original)
+++ openoffice/trunk/main/basegfx/source/polygon/b2dsvgpolypolygon.cxx Mon Oct 28 11:31:11 2013
@@ -320,7 +320,10 @@ namespace basegfx
// add current polygon
if(bIsClosed)
{
- closeWithGeometryChange(aCurrPoly);
+ // #123465# no need to do the old closeWithGeometryChange
+ // corerection on SVG polygons; this even may lead to wrong
+ // results e.g. for marker processing
+ aCurrPoly.setClosed(true);
}
o_rPolyPolygon.append(aCurrPoly);
@@ -841,7 +844,10 @@ namespace basegfx
// end-process last poly
if(bIsClosed)
{
- closeWithGeometryChange(aCurrPoly);
+ // #123465# no need to do the old closeWithGeometryChange
+ // corerection on SVG polygons; this even may lead to wrong
+ // results e.g. for marker processing
+ aCurrPoly.setClosed(true);
}
o_rPolyPolygon.append(aCurrPoly);