From 6b260f17e9ccabe83457f0203efc256441b781dc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 24 Apr 2014 11:05:12 +0100 Subject: coverity#707476 Uncaught exception Change-Id: I667867d0333d9d82db3218e2645741a2327cd8fe --- 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 062f5613bb6e..0077ad99137c 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -576,7 +576,8 @@ ScVbaShape::getRelativeHorizontalPosition() throw (uno::RuntimeException, std::e } void SAL_CALL -ScVbaShape::setRelativeHorizontalPosition( ::sal_Int32 _relativehorizontalposition ) throw (uno::RuntimeException, std::exception) +ScVbaShape::setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalposition) + throw (css::script::BasicErrorException, uno::RuntimeException, std::exception) { sal_Int16 nType = text::RelOrientation::PAGE_FRAME; switch( _relativehorizontalposition ) -- cgit