summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-10-25 19:57:03 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-10-25 19:57:03 +0000
commit9258f3a6b2870afb565d7dc9c5e94f5e351cbf0b (patch)
tree6b00a102b5b96ebd17312b1363903c70883c7cf7 /xmloff/source/text/txtparae.cxx
parent2552a1239cf26cd6f95a95934ec784cc65869a32 (diff)
#93467# remove calls on XDocumentHandler and change interfaces acordingly
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 2970cbc0812c..f3a4570729cf 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtparae.cxx,v $
*
- * $Revision: 1.94 $
+ * $Revision: 1.95 $
*
- * last change: $Author: dvo $ $Date: 2001-09-24 13:40:55 $
+ * last change: $Author: dvo $ $Date: 2001-10-25 20:57:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2911,6 +2911,7 @@ void XMLTextParagraphExport::recordTrackedChangesNoXText()
void XMLTextParagraphExport::exportTextAutoStyles()
{
+#if SUPD < 650
GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_PARAGRAPH,
GetExport().GetDocHandler(),
GetExport().GetMM100UnitConverter(),
@@ -2935,6 +2936,14 @@ void XMLTextParagraphExport::exportTextAutoStyles()
GetExport().GetDocHandler(),
GetExport().GetMM100UnitConverter(),
GetExport().GetNamespaceMap() );
+#else
+ GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_PARAGRAPH );
+ GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_TEXT );
+ GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_FRAME );
+ GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_SECTION );
+ GetAutoStylePool().exportXML( XML_STYLE_FAMILY_TEXT_RUBY );
+#endif
+
pListAutoPool->exportXML();
}