diff options
-rw-r--r-- | include/vbahelper/vbashape.hxx | 3 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbashape.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 1625f36fcc91..3435d430cb6f 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -66,7 +66,8 @@ public: virtual OUString SAL_CALL getAlternativeText() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setAlternativeText( const OUString& _name ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual double SAL_CALL getHeight() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL setHeight( double _height ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL setHeight(double _height) + throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual double SAL_CALL getWidth() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setWidth( double _width ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual double SAL_CALL getLeft() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx index d97b61e7929f..03c611e1012f 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -192,7 +192,8 @@ ScVbaShape::getHeight() throw (uno::RuntimeException, std::exception) } void SAL_CALL -ScVbaShape::setHeight( double _height ) throw (uno::RuntimeException, std::exception) +ScVbaShape::setHeight(double _height) + throw (script::BasicErrorException, uno::RuntimeException, std::exception) { m_pShapeHelper->setHeight( _height ); } |