diff options
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 3 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index 1a403b924cf0..e40357d29ff0 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -158,7 +158,8 @@ class VBAHELPER_DLLPUBLIC ShapeHelper protected: css::uno::Reference< css::drawing::XShape > xShape; public: - ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape) throw (css::script::BasicErrorException ); + ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape) + throw (css::script::BasicErrorException, css::uno::RuntimeException); double getHeight() const; void setHeight(double _fheight) throw ( css::script::BasicErrorException ); diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index c22f1f108bfc..c24bec40208a 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -1004,7 +1004,9 @@ void ConcreteXShapeGeometryAttributes::setWidth( double nWidth) } -ShapeHelper::ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape) throw (css::script::BasicErrorException ) : xShape( _xShape ) +ShapeHelper::ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape) + throw (css::script::BasicErrorException, css::uno::RuntimeException) + : xShape( _xShape ) { if( !xShape.is() ) throw css::uno::RuntimeException( "No valid shape for helper" , css::uno::Reference< css::uno::XInterface >() ); |