From 4a3dd2fe99714c38fdf549dddbfb03530ceb3740 Mon Sep 17 00:00:00 2001 From: Kai Ahrens Date: Fri, 26 Jul 2002 10:05:57 +0000 Subject: #101748#: don't export tspans --- extensions/source/svg/svgaction.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'extensions/source/svg') 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; -- cgit v1.2.3