summaryrefslogtreecommitdiff
path: root/oox/inc/oox/vml
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-08-29 09:25:40 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-08-29 09:26:14 +0200
commit7fe05dc95d0c9a584e07483c04b13c071d55293f (patch)
tree0dfc2daab7db98db5d42c34c90a0edbb7ff51119 /oox/inc/oox/vml
parent9f6dd9a4cff12460d09a31a065feaf8fece1eb4b (diff)
add SimpleShape::createPictureObject to avoid code duplication
Change-Id: Id4bb0550ab2ce9bbb7edf568a086be18c1576b33
Diffstat (limited to 'oox/inc/oox/vml')
-rw-r--r--oox/inc/oox/vml/vmlshape.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/inc/oox/vml/vmlshape.hxx b/oox/inc/oox/vml/vmlshape.hxx
index 728ca15e83b0..8fab5f7ec92d 100644
--- a/oox/inc/oox/vml/vmlshape.hxx
+++ b/oox/inc/oox/vml/vmlshape.hxx
@@ -272,6 +272,10 @@ protected:
implConvertAndInsert(
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& rxShapes,
const ::com::sun::star::awt::Rectangle& rShapeRect ) const;
+ /** Used by both RectangleShape and ComplexShape. */
+ com::sun::star::uno::Reference<com::sun::star::drawing::XShape>createPictureObject(
+ const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rxShapes,
+ const com::sun::star::awt::Rectangle& rShapeRect, OUString& rGraphicPath ) const;
private:
::rtl::OUString maService; ///< Name of the UNO shape service.