summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-10-30 15:13:41 +0000
committerArmin Le Grand <alg@apache.org>2013-10-30 15:13:41 +0000
commit016bb3894dcc2e3a9cfb6324f1a9f389c192426d (patch)
tree105bcd1f49c32338b4abe1bfa22a8ff45badc91c /basegfx
parent6b40671cdcb58fcf8f0c7af4b49cb94a7b53cd97 (diff)
save adaptions to aw080 due to fixes done on trunk
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx2
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx10
2 files changed, 8 insertions, 4 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
index 5b1b20479cdd..ccfb155ecd09 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
@@ -19,8 +19,6 @@
*
*************************************************************/
-
-
#ifndef _BGFX_POLYPOLYGON_B2DPOLYGONTOOLS_HXX
#define _BGFX_POLYPOLYGON_B2DPOLYGONTOOLS_HXX
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index c5babb9545a6..b67ff5b068aa 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -92,7 +92,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);
@@ -612,7 +615,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);