summaryrefslogtreecommitdiff
path: root/extensions/source/svg
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-07-26 06:27:02 +0000
committerKai Ahrens <ka@openoffice.org>2002-07-26 06:27:02 +0000
commitbbd94b9f10ad0b0cd1c2bc6cec0134cf100e4963 (patch)
tree8332828bf4fb86581c8507b50b7cd1c4693eed2c /extensions/source/svg
parentc308ad943d765d4e3c08a52e0a3f8fef87546c9a (diff)
#101748#: don't export tspans
Diffstat (limited to 'extensions/source/svg')
-rw-r--r--extensions/source/svg/svgaction.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/source/svg/svgaction.cxx b/extensions/source/svg/svgaction.cxx
index e86de4efc375..3d12b8406861 100644
--- a/extensions/source/svg/svgaction.cxx
+++ b/extensions/source/svg/svgaction.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svgaction.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: sj $ $Date: 2002-07-04 11:00:06 $
+ * last change: $Author: ka $ $Date: 2002-07-26 07:27:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,7 @@
#include <vcl/metric.hxx>
#undef _SVG_USE_NATIVE_TEXTDECORATION
+#undef _SVG_USE_TSPANS
// -----------
// - statics -
@@ -899,6 +900,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText,
mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrStyle, *pStyle );
// write text element
+#ifdef _SVG_USE_TSPANS
if( pDXArray )
{
SvXMLElementExport aElem( mrExport, XML_NAMESPACE_NONE, aXMLElemText, TRUE, TRUE );
@@ -924,6 +926,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText,
}
}
else
+#endif
{
mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrX, GetValueString( aPt.X(), mbDoublePoints ) );
mrExport.AddAttribute( XML_NAMESPACE_NONE, aXMLAttrY, GetValueString( aPt.Y(), mbDoublePoints ) );