diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-08-29 09:25:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-08-29 09:26:14 +0200 |
commit | 7fe05dc95d0c9a584e07483c04b13c071d55293f (patch) | |
tree | 0dfc2daab7db98db5d42c34c90a0edbb7ff51119 /oox/inc/oox/vml | |
parent | 9f6dd9a4cff12460d09a31a065feaf8fece1eb4b (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.hxx | 4 |
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. |