summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index d9b869b248b8..6a1dffa4e3a5 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -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);