summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-10 12:10:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-10 13:39:18 +0100
commite0ec561059feced3bf61324cd688c1cbaac9629b (patch)
tree10bd93f49d6eb8fce37cb5ede92b81f80031b9ee /vbahelper
parentd16cc33b491c9424ee825b1ca36f0dbd8bce16aa (diff)
coverity#707480 Uncaught exception
Change-Id: I27732316c42face6750ffb7eccc238f66519e4e6
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbashapes.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx
index 200fdebea5ff..e23dd07179b0 100644
--- a/vbahelper/source/vbahelper/vbashapes.cxx
+++ b/vbahelper/source/vbahelper/vbashapes.cxx
@@ -166,7 +166,8 @@ ScVbaShapes::getShapesByArrayIndices( const uno::Any& Index ) throw (uno::Runti
}
uno::Any SAL_CALL
-ScVbaShapes::Item( const uno::Any& Index, const uno::Any& Index2 ) throw (uno::RuntimeException)
+ScVbaShapes::Item(const uno::Any& Index, const uno::Any& Index2)
+ throw (lang::IndexOutOfBoundsException, script::BasicErrorException, uno::RuntimeException)
{
// I don't think we need to support Array of indices for shapes
/*