summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-10 11:47:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-10 13:39:16 +0100
commitb2273b106384fbf22d35c70c50845f6126805443 (patch)
treeedc007e22b639fe80ddc17806b38a3130682961c
parent31a1eb48247e2e0f79c8ba34058eed04e04af336 (diff)
coverity#707059 Uncaught exception
Change-Id: If5d009647f3475d0c3ecf0ef621c92eff40a11dc
-rw-r--r--sc/source/ui/vba/vbaworksheets.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index 38b944bbddd5..a59b8c8a0af6 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -434,7 +434,8 @@ ScVbaWorksheets::Copy ( const uno::Any& Before, const uno::Any& After) throw (cs
//ScVbaCollectionBaseImpl
uno::Any SAL_CALL
-ScVbaWorksheets::Item( const uno::Any& Index, const uno::Any& Index2 ) throw (uno::RuntimeException)
+ScVbaWorksheets::Item(const uno::Any& Index, const uno::Any& Index2)
+ throw (lang::IndexOutOfBoundsException, script::BasicErrorException, uno::RuntimeException)
{
if ( Index.getValueTypeClass() == uno::TypeClass_SEQUENCE )
{