summaryrefslogtreecommitdiff
path: root/include
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 /include
parentd16cc33b491c9424ee825b1ca36f0dbd8bce16aa (diff)
coverity#707480 Uncaught exception
Change-Id: I27732316c42face6750ffb7eccc238f66519e4e6
Diffstat (limited to 'include')
-rw-r--r--include/vbahelper/vbashapes.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx
index 5c6800fb00dd..e67a18d27bc8 100644
--- a/include/vbahelper/vbashapes.hxx
+++ b/include/vbahelper/vbashapes.hxx
@@ -66,7 +66,8 @@ public:
virtual css::uno::Reference< ov::msforms::XShapeRange > SAL_CALL Range( const css::uno::Any& shapes ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ScVbaCollectionBaseImpl
virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource ) throw (css::uno::RuntimeException) SAL_OVERRIDE;
- virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& Index2 ) throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index1, const css::uno::Any& Index2)
+ throw (css::lang::IndexOutOfBoundsException, css::script::BasicErrorException, css::uno::RuntimeException) SAL_OVERRIDE;
};
#endif // INCLUDED_VBAHELPER_VBASHAPES_HXX