summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbarows.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbarows.cxx')
-rw-r--r--sw/source/ui/vba/vbarows.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbarows.cxx b/sw/source/ui/vba/vbarows.cxx
index aedad5b7ce5a..6b27ccfca33f 100644
--- a/sw/source/ui/vba/vbarows.cxx
+++ b/sw/source/ui/vba/vbarows.cxx
@@ -315,7 +315,7 @@ void SAL_CALL SwVbaRows::Select( ) throw (uno::RuntimeException, std::exception
return ( mnEndRowIndex - mnStartRowIndex + 1 );
}
-uno::Any SAL_CALL SwVbaRows::Item( const uno::Any& Index1, const uno::Any& /*not processed in this base class*/ ) throw (uno::RuntimeException)
+uno::Any SAL_CALL SwVbaRows::Item( const uno::Any& Index1, const uno::Any& /*not processed in this base class*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
sal_Int32 nIndex = 0;
if( ( Index1 >>= nIndex ) )