Resolves: #i123465# no longer correct svg:d imports

(cherry picked from commit 697d89b1dda760a39cd8e7e28f386dbec1aaff61)

Change-Id: Id1819f695eac7a6dc4346708c7504f8df7e57c56
This commit is contained in:
Armin Le Grand 2013-10-28 11:31:11 +00:00 committed by Caolán McNamara
parent 518d3592e6
commit c07016b79e

View File

@ -262,7 +262,10 @@ namespace basegfx
// add current polygon
if(bIsClosed)
{
closeWithGeometryChange(aCurrPoly);
// #i123465# 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);
@ -771,7 +774,10 @@ namespace basegfx
// end-process last poly
if(bIsClosed)
{
closeWithGeometryChange(aCurrPoly);
// #i123465# 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);