summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-24 13:26:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-24 13:26:57 +0100
commitd8fa21bd11c79bed3a2d03a31b30563879cc8c4b (patch)
treeedd0f304f5034819094cc20c75ca71938a06aa7e
parent532acfde021fb78de64faefeb561632b333931a2 (diff)
hmm, need a rethink on these exceptions
Change-Id: I0d91e142d719b946f65ed704b06371d00534ad78
-rw-r--r--include/vbahelper/vbashape.hxx8
-rw-r--r--vbahelper/source/vbahelper/vbashape.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/vbahelper/vbashape.hxx b/include/vbahelper/vbashape.hxx
index 0750bbdc5256..838ad437ea21 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 38a67407127f..09e4cccc51fd 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 )