diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-13 08:18:48 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-13 08:18:48 +0000 |
commit | f4927f0b44bd9b0a7d87065af8d2ef807de640fb (patch) | |
tree | 127684a3c8c37da8ee7e3dc8f0778650d533d9e0 /xmloff/source/draw/shapeexport.cxx | |
parent | 4d41a86f365aba852f1d0cb5024aae28e0f51993 (diff) |
INTEGRATION: CWS swlists01 (1.79.12); FILE MERGED
2008/05/08 16:13:15 od 1.79.12.2: RESYNC: (1.79-1.80); FILE MERGED
2008/05/08 14:23:24 od 1.79.12.1: #i86732# changes/adjustments for new list handling
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 93090b6a1112..f034bdb0c834 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: shapeexport.cxx,v $ - * $Revision: 1.80 $ + * $Revision: 1.81 $ * * This file is part of OpenOffice.org. * @@ -507,6 +507,27 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap /////////////////////////////////////////////////////////////////////// +// --> OD 2008-05-08 #refactorlists# +namespace +{ + class NewTextListsHelper + { + public: + NewTextListsHelper( SvXMLExport& rExp ) + : mrExport( rExp ) + { + mrExport.GetTextParagraphExport()->PushNewTextListsHelper(); + } + + ~NewTextListsHelper() + { + mrExport.GetTextParagraphExport()->PopTextListsHelper(); + } + + private: + SvXMLExport& mrExport; + }; +} // This method exports the given XShape void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape, sal_Int32 nFeatures /* = SEF_DEFAULT */, @@ -531,6 +552,10 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape return; } + // --> OD 2008-05-08 #refactorlists# + NewTextListsHelper aNewTextListsHelper( mrExport ); + // <-- + const ImplXMLShapeExportInfo& aShapeInfo = aShapeInfoVector[nZIndex]; |