diff options
author | Armin Le Grand <alg@apache.org> | 2013-10-28 11:31:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-28 14:10:05 +0000 |
commit | c07016b79e95f157f6342a1cb9dca51bb77e1f6c (patch) | |
tree | 309a14436aa20170719acff456230d0ab67ee1de /basegfx | |
parent | 518d3592e69aee30f19cd8cbdfef73131cb43c22 (diff) |
Resolves: #i123465# no longer correct svg:d imports
(cherry picked from commit 697d89b1dda760a39cd8e7e28f386dbec1aaff61)
Change-Id: Id1819f695eac7a6dc4346708c7504f8df7e57c56
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 10 |
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); |