Kaydet (Commit) 437a1f39 authored tarafından Noel Grandin's avatar Noel Grandin

cid#707192 Uncaught exception

Change-Id: Ibf6f8a4a405d089eb8bbdcf46269f2f78b2222a9
üst 9fb54d62
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment