diff options
Diffstat (limited to 'sw/source/ui/vba/vbacolumns.cxx')
-rw-r--r-- | sw/source/ui/vba/vbacolumns.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbacolumns.cxx b/sw/source/ui/vba/vbacolumns.cxx index c81b3fc6a493..ac78b08e5531 100644 --- a/sw/source/ui/vba/vbacolumns.cxx +++ b/sw/source/ui/vba/vbacolumns.cxx @@ -104,11 +104,11 @@ uno::Any SAL_CALL SwVbaColumns::Item( const uno::Any& Index1, const uno::Any& /* { if( nIndex <= 0 || nIndex > getCount() ) { - throw lang::IndexOutOfBoundsException("Index out of bounds", uno::Reference< uno::XInterface >() ); + throw lang::IndexOutOfBoundsException("Index out of bounds" ); } return uno::makeAny( uno::Reference< word::XColumn >( new SwVbaColumn( this, mxContext, mxTextTable, nIndex - 1 ) ) ); } - throw uno::RuntimeException("Index out of bounds", uno::Reference< uno::XInterface >() ); + throw uno::RuntimeException("Index out of bounds" ); } // XEnumerationAccess |