diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 11:05:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 11:10:00 +0100 |
commit | cf058da1e5664bc8c30a5777e2c1dbf059a6304f (patch) | |
tree | 0d5ccfa86039cab44101107f4be9af11c256827c | |
parent | 6b260f17e9ccabe83457f0203efc256441b781dc (diff) |
coverity#707475 Uncaught exception
Change-Id: I4c9da1bb21e55578fc81e4c5b3133cbd639711cc
-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 f389c2953c1e..0750bbdc5256 100644 --- a/include/vbahelper/vbashape.hxx +++ b/include/vbahelper/vbashape.hxx @@ -92,7 +92,8 @@ public: virtual void SAL_CALL setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) throw (css::script::BasicErrorException, 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::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; // 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 0077ad99137c..38a67407127f 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -648,7 +648,8 @@ ScVbaShape::getRelativeVerticalPosition() throw (uno::RuntimeException, std::exc } void SAL_CALL -ScVbaShape::setRelativeVerticalPosition( ::sal_Int32 _relativeverticalposition ) throw (uno::RuntimeException, std::exception) +ScVbaShape::setRelativeVerticalPosition(::sal_Int32 _relativeverticalposition) + throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) { sal_Int16 nType = text::RelOrientation::PAGE_FRAME; switch( _relativeverticalposition ) |