From 437a1f3925998a56d15f874358cca31552943225 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 May 2014 09:41:39 +0200 Subject: cid#707192 Uncaught exception Change-Id: Ibf6f8a4a405d089eb8bbdcf46269f2f78b2222a9 --- include/vbahelper/vbacollectionimpl.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index 0f610de36c47..90d876bde6e5 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -257,7 +257,7 @@ protected: return createCollectionObject( m_xNameAccess->getByName( sIndex ) ); } - virtual css::uno::Any getItemByIntIndex( const sal_Int32 nIndex ) throw (css::uno::RuntimeException) + virtual css::uno::Any getItemByIntIndex( const sal_Int32 nIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException) { if ( !m_xIndexAccess.is() ) throw css::uno::RuntimeException("ScVbaCollectionBase numeric index access not supported by this object" ); -- cgit