diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-27 10:31:05 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-27 10:31:05 +0000 |
commit | f02f4697516c584295862ca9c011a1f0f1d0df54 (patch) | |
tree | 64c342f75c8b712dc6abb2864425d1213b3468e3 /xmloff | |
parent | 32e5a8390cefedc383b908ba5f50ae8a43046a28 (diff) |
INTEGRATION: CWS dvoqbfix (1.117.6); FILE MERGED
2004/12/13 11:10:16 dvo 1.117.6.1: #i38380# spec-conforming default handling
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 69ed36d6b84a..3b402b8d885d 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtparae.cxx,v $ * - * $Revision: 1.118 $ + * $Revision: 1.119 $ * - * last change: $Author: obo $ $Date: 2005-01-25 13:56:25 $ + * last change: $Author: rt $ $Date: 2005-01-27 11:31:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1009,13 +1009,6 @@ XMLTextParagraphExport::XMLTextParagraphExport( xFramePropMapper = new XMLTextExportPropertySetMapper( xPropMapper, GetExport() ); - xPropMapper = new XMLTextPropertySetMapper( TEXT_PROP_MAP_PARA ); - xParaDefaultPropMapper = new XMLTextExportPropertySetMapper( xPropMapper, - GetExport() ); - xPropMapper = new XMLTextPropertySetMapper( TEXT_PROP_MAP_TEXT_ADDITIONAL_DEFAULTS ); - xParaDefaultPropMapper->ChainExportMapper( - new SvXMLExportPropertyMapper( xPropMapper ) ); - pSectionExport = new XMLSectionExport( rExp, *this ); pIndexMarkExport = new XMLIndexMarkExport( rExp, *this ); pRedlineExport = IsBlockMode() ? NULL : new XMLRedlineExport( rExp ); @@ -1081,6 +1074,14 @@ SvXMLExportPropertyMapper *XMLTextParagraphExport::CreateParaExtPropMapper( return new XMLTextExportPropertySetMapper( pPropMapper, rExport ); } +SvXMLExportPropertyMapper *XMLTextParagraphExport::CreateParaDefaultExtPropMapper( + SvXMLExport& rExport) +{ + XMLPropertySetMapper *pPropMapper = + new XMLTextPropertySetMapper( TEXT_PROP_MAP_TEXT_ADDITIONAL_DEFAULTS ); + return new XMLTextExportPropertySetMapper( pPropMapper, rExport ); +} + void XMLTextParagraphExport::collectFrames() { collectFrames( sal_False ); |