summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbalistlevels.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbalistlevels.cxx')
-rw-r--r--sw/source/ui/vba/vbalistlevels.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbalistlevels.cxx b/sw/source/ui/vba/vbalistlevels.cxx
index 5d75bb35ee0f..df174ae5784f 100644
--- a/sw/source/ui/vba/vbalistlevels.cxx
+++ b/sw/source/ui/vba/vbalistlevels.cxx
@@ -63,7 +63,7 @@ uno::Any SAL_CALL SwVbaListLevels::Item( const uno::Any& Index1, const uno::Any&
if( !( Index1 >>= nIndex ) )
throw uno::RuntimeException();
if( nIndex <=0 || nIndex > getCount() )
- throw uno::RuntimeException("Index out of bounds", uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Index out of bounds" );
return uno::makeAny( uno::Reference< word::XListLevel >( new SwVbaListLevel( this, mxContext, pListHelper, nIndex - 1 ) ) );
}