summaryrefslogtreecommitdiff
path: root/extensions/source/svg
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-07-26 10:05:57 +0000
committerKai Ahrens <ka@openoffice.org>2002-07-26 10:05:57 +0000
commit4a3dd2fe99714c38fdf549dddbfb03530ceb3740 (patch)
tree48cb0c7f81af63d10845f7d1775115ad7a4f8a78 /extensions/source/svg
parentbbd94b9f10ad0b0cd1c2bc6cec0134cf100e4963 (diff)
#101748#: don't export tspans
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;