summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport2.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2002-01-08 14:43:07 +0000
committerArmin Weiss <aw@openoffice.org>2002-01-08 14:43:07 +0000
commit20bd0b06f5ec68e60ddae5213f0723ed72dbae4d (patch)
treef27c9f67332cc8c171632a665547786d8393a04e /xmloff/source/draw/shapeexport2.cxx
parent6e9302b56067e7fb93390c8141554ae367e5f7ce (diff)
#96328# Use knowledge of polygon closed state to correctly optimize first/last point equality
Diffstat (limited to 'xmloff/source/draw/shapeexport2.cxx')
-rw-r--r--xmloff/source/draw/shapeexport2.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index ebfb0a164116..baeaafbf7b37 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeexport2.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: sab $ $Date: 2001-12-10 17:42:16 $
+ * last change: $Author: aw $ $Date: 2002-01-08 15:42:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -948,7 +948,9 @@ void XMLShapeExport::ImpExportPolygonShape(
drawing::PointSequence* pSequence = pSourcePolyPolygon->getArray();
if(pSequence)
{
- SdXMLImExPointsElement aPoints(pSequence, aViewBox, aPoint, aSize, rExport.GetMM100UnitConverter());
+ SdXMLImExPointsElement aPoints(pSequence, aViewBox, aPoint, aSize, rExport.GetMM100UnitConverter(),
+ // #96328#
+ bClosed);
// write point array
rExport.AddAttribute(XML_NAMESPACE_DRAW, XML_POINTS, aPoints.GetExportString());