From cf058da1e5664bc8c30a5777e2c1dbf059a6304f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 24 Apr 2014 11:05:52 +0100 Subject: coverity#707475 Uncaught exception Change-Id: I4c9da1bb21e55578fc81e4c5b3133cbd639711cc --- vbahelper/source/vbahelper/vbashape.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vbahelper') 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 ) -- cgit