diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-27 09:41:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 10:50:03 +0200 |
commit | 437a1f3925998a56d15f874358cca31552943225 (patch) | |
tree | 40bfe6028dc992cca6f9b1f657813b14231b4256 /include/vbahelper | |
parent | 9fb54d62b13b50e6a270a70183a86a0d8f6cdbfa (diff) |
cid#707192 Uncaught exception
Change-Id: Ibf6f8a4a405d089eb8bbdcf46269f2f78b2222a9
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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" ); |