Kaydet (Commit) d8fa21bd authored tarafından Caolán McNamara's avatar Caolán McNamara

hmm, need a rethink on these exceptions

Change-Id: I0d91e142d719b946f65ed704b06371d00534ad78
üst 532acfde
...@@ -67,10 +67,10 @@ public: ...@@ -67,10 +67,10 @@ public:
virtual void SAL_CALL setAlternativeText( const OUString& _name ) 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 double SAL_CALL getHeight() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setHeight(double _height) 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 double SAL_CALL getWidth() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setWidth(double _width) 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 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 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; virtual double SAL_CALL getTop() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
...@@ -90,10 +90,10 @@ public: ...@@ -90,10 +90,10 @@ public:
virtual void SAL_CALL setLockAnchor( sal_Bool _lockanchor ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; 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 ::sal_Int32 SAL_CALL getRelativeHorizontalPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) 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 ::sal_Int32 SAL_CALL getRelativeVerticalPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setRelativeVerticalPosition(::sal_Int32 _relativeverticalposition) 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 // Methods
virtual css::uno::Any SAL_CALL SAL_CALL TextFrame( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL SAL_CALL TextFrame( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
...@@ -193,7 +193,7 @@ ScVbaShape::getHeight() throw (uno::RuntimeException, std::exception) ...@@ -193,7 +193,7 @@ ScVbaShape::getHeight() throw (uno::RuntimeException, std::exception)
void SAL_CALL void SAL_CALL
ScVbaShape::setHeight(double _height) ScVbaShape::setHeight(double _height)
throw (script::BasicErrorException, uno::RuntimeException, std::exception) throw (uno::RuntimeException, std::exception)
{ {
m_pShapeHelper->setHeight( _height ); m_pShapeHelper->setHeight( _height );
} }
...@@ -206,7 +206,7 @@ ScVbaShape::getWidth() throw (uno::RuntimeException, std::exception) ...@@ -206,7 +206,7 @@ ScVbaShape::getWidth() throw (uno::RuntimeException, std::exception)
void SAL_CALL void SAL_CALL
ScVbaShape::setWidth(double _width) ScVbaShape::setWidth(double _width)
throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) throw (uno::RuntimeException, std::exception)
{ {
m_pShapeHelper->setWidth( _width ); m_pShapeHelper->setWidth( _width );
} }
...@@ -577,7 +577,7 @@ ScVbaShape::getRelativeHorizontalPosition() throw (uno::RuntimeException, std::e ...@@ -577,7 +577,7 @@ ScVbaShape::getRelativeHorizontalPosition() throw (uno::RuntimeException, std::e
void SAL_CALL void SAL_CALL
ScVbaShape::setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) 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; sal_Int16 nType = text::RelOrientation::PAGE_FRAME;
switch( _relativehorizontalposition ) switch( _relativehorizontalposition )
...@@ -649,7 +649,7 @@ ScVbaShape::getRelativeVerticalPosition() throw (uno::RuntimeException, std::exc ...@@ -649,7 +649,7 @@ ScVbaShape::getRelativeVerticalPosition() throw (uno::RuntimeException, std::exc
void SAL_CALL void SAL_CALL
ScVbaShape::setRelativeVerticalPosition(::sal_Int32 _relativeverticalposition) 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; sal_Int16 nType = text::RelOrientation::PAGE_FRAME;
switch( _relativeverticalposition ) switch( _relativeverticalposition )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment