summaryrefslogtreecommitdiff
path: root/extensions/source/svg
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/svg')
-rw-r--r--extensions/source/svg/svgaction.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/extensions/source/svg/svgaction.cxx b/extensions/source/svg/svgaction.cxx
index 3d12b8406861..b9b8c6784f93 100644
--- a/extensions/source/svg/svgaction.cxx
+++ b/extensions/source/svg/svgaction.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svgaction.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: ka $ $Date: 2002-07-26 07:27:02 $
+ * last change: $Author: ka $ $Date: 2002-07-26 11:05:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -612,9 +612,11 @@ void SVGActionWriter::ImplWritePolygon( const Polygon& rPoly, sal_Bool bLineOnly
{
if( rPoly.GetSize() )
{
+#if SUPD > 642
if( rPoly.HasFlags() )
ImplWritePolyPolygon( rPoly, bLineOnly, pStyle );
else
+#endif
{
FastString aStyle;
FastString aPoints;
@@ -670,9 +672,11 @@ void SVGActionWriter::ImplWritePolyPolygon( const PolyPolygon& rPolyPoly, sal_Bo
{
if( rPolyPoly.Count() )
{
+#if SUPD > 642
if( ( rPolyPoly.Count() == 1 ) && ( rPolyPoly[ 0 ].HasFlags() == sal_False ) )
ImplWritePolygon( rPolyPoly[ 0 ], bLineOnly, pStyle );
else
+#endif
{
FastString aStyle;
FastString aPathData;