summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlexp.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-03-13 14:44:38 +0000
committerMichael Brauer <mib@openoffice.org>2001-03-13 14:44:38 +0000
commit92b4b0070275322f7bf0f90b1fbd4a82b1e2267d (patch)
treeeb61e666e45d156ae9c721944f69bd1ecc30b0e7 /sw/source/filter/xml/xmlexp.cxx
parent84d962eba07526aea72f47b7e6c7f19c5806b50d (diff)
required change: XMLShapeExportHelper::seekShapes
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r--sw/source/filter/xml/xmlexp.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 0560f902ae76..187b1a8923a0 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlexp.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: dvo $ $Date: 2001-03-02 21:02:30 $
+ * last change: $Author: mib $ $Date: 2001-03-13 15:44:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -413,7 +413,15 @@ XMLTextParagraphExport* SwXMLExport::CreateTextParagraphExport()
XMLShapeExport* SwXMLExport::CreateShapeExport()
{
- return new XMLShapeExport( *this, XMLTextParagraphExport::CreateShapeExtPropMapper( *this ) );
+ XMLShapeExport* pShapeExport = new XMLShapeExport( *this, XMLTextParagraphExport::CreateShapeExtPropMapper( *this ) );
+ Reference < XDrawPageSupplier > xDPS( GetModel(), UNO_QUERY );
+ if( xDPS.is() )
+ {
+ Reference < XShapes > xShapes( xDPS->getDrawPage(), UNO_QUERY );
+ pShapeExport->seekShapes( xShapes );
+ }
+
+ return pShapeExport;
}
__EXPORT SwXMLExport::~SwXMLExport()