summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );
+}