summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbalisttemplates.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbalisttemplates.cxx')
-rw-r--r--sw/source/ui/vba/vbalisttemplates.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbalisttemplates.cxx b/sw/source/ui/vba/vbalisttemplates.cxx
index b7ba7fe1256b..d2db3e81cfa1 100644
--- a/sw/source/ui/vba/vbalisttemplates.cxx
+++ b/sw/source/ui/vba/vbalisttemplates.cxx
@@ -57,7 +57,7 @@ uno::Any SAL_CALL SwVbaListTemplates::Item( const uno::Any& Index1, const uno::A
if( ( Index1 >>= nIndex ) == sal_False )
throw uno::RuntimeException();
if( nIndex <=0 || nIndex > getCount() )
- throw uno::RuntimeException( OUString("Index out of bounds"), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Index out of bounds", uno::Reference< uno::XInterface >() );
return uno::makeAny( uno::Reference< word::XListTemplate >( new SwVbaListTemplate( this, mxContext, mxTextDocument, mnGalleryType, nIndex ) ) );
}