summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeimport.cxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2001-01-11 15:53:49 +0000
committerBjörn Milcke <bm@openoffice.org>2001-01-11 15:53:49 +0000
commit782ac545e2e6aa6ccb129cf02afd3fcd73f86519 (patch)
tree7bea72341d30f7dce8d000555bfa75b7daa3d6da /xmloff/source/draw/shapeimport.cxx
parenta2f19ccde939f59b42ea142e25b857557c3373a7 (diff)
+CreateShapePropMapper to get mapper for external chaining
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r--xmloff/source/draw/shapeimport.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 22d78fb04f56..a0ec81072c68 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeimport.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: cl $ $Date: 2000-12-19 16:23:48 $
+ * last change: $Author: bm $ $Date: 2001-01-11 16:53:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1031,3 +1031,9 @@ void XMLShapeImportHelper::restoreConnections()
}
}
+SvXMLImportPropertyMapper* XMLShapeImportHelper::CreateShapePropMapper( const uno::Reference< frame::XModel>& rModel )
+{
+ UniReference< XMLPropertyHandlerFactory > xFactory = new XMLSdPropHdlFactory( rModel );
+ UniReference < XMLPropertySetMapper > xMapper = new XMLShapePropertySetMapper( xFactory );
+ return new SvXMLImportPropertyMapper( xMapper );
+}