include/vbahelper/vbashape.hxx | 8 ++++---- vbahelper/source/vbahelper/vbashape.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit d8fa21bd11c79bed3a2d03a31b30563879cc8c4b Author: Caolán McNamara <[email protected]> Date: Thu Apr 24 13:26:32 2014 +0100 hmm, need a rethink on these exceptions Change-Id: I0d91e142d719b946f65ed704b06371d00534ad78 diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx index 0750bbd..838ad43 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -67,10 +67,10 @@ public: 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::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (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::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual double SAL_CALL getLeft() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setLeft( double _left ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual double SAL_CALL getTop() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -90,10 +90,10 @@ public: virtual void SAL_CALL setLockAnchor( sal_Bool _lockanchor ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL getRelativeHorizontalPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) - throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL getRelativeVerticalPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setRelativeVerticalPosition(::sal_Int32 _relativeverticalposition) - throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // Methods virtual css::uno::Any SAL_CALL SAL_CALL TextFrame( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx index 38a6740..09e4ccc 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -193,7 +193,7 @@ ScVbaShape::getHeight() throw (uno::RuntimeException, std::exception) void SAL_CALL ScVbaShape::setHeight(double _height) - throw (script::BasicErrorException, uno::RuntimeException, std::exception) + throw (uno::RuntimeException, std::exception) { m_pShapeHelper->setHeight( _height ); } @@ -206,7 +206,7 @@ ScVbaShape::getWidth() throw (uno::RuntimeException, std::exception) void SAL_CALL ScVbaShape::setWidth(double _width) - throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) + throw (uno::RuntimeException, std::exception) { m_pShapeHelper->setWidth( _width ); } @@ -577,7 +577,7 @@ ScVbaShape::getRelativeHorizontalPosition() throw (uno::RuntimeException, std::e void SAL_CALL ScVbaShape::setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) - throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) + throw (uno::RuntimeException, std::exception) { sal_Int16 nType = text::RelOrientation::PAGE_FRAME; switch( _relativehorizontalposition ) @@ -649,7 +649,7 @@ ScVbaShape::getRelativeVerticalPosition() throw (uno::RuntimeException, std::exc void SAL_CALL ScVbaShape::setRelativeVerticalPosition(::sal_Int32 _relativeverticalposition) - throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) + throw (uno::RuntimeException, std::exception) { sal_Int16 nType = text::RelOrientation::PAGE_FRAME; switch( _relativeverticalposition )
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
