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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbalisttemplates.cxx b/sw/source/ui/vba/vbalisttemplates.cxx
index aad1e8270192..01b56c27a33d 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( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Index out of bounds") ), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException( ::rtl::OUString("Index out of bounds"), uno::Reference< uno::XInterface >() );
return uno::makeAny( uno::Reference< word::XListTemplate >( new SwVbaListTemplate( this, mxContext, mxTextDocument, mnGalleryType, nIndex ) ) );
}
@@ -84,7 +84,7 @@ SwVbaListTemplates::createCollectionObject( const css::uno::Any& aSource )
rtl::OUString
SwVbaListTemplates::getServiceImplName()
{
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SwVbaListTemplates"));
+ return rtl::OUString("SwVbaListTemplates");
}
css::uno::Sequence<rtl::OUString>
@@ -94,7 +94,7 @@ SwVbaListTemplates::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ooo.vba.word.ListTemplates") );
+ sNames[0] = rtl::OUString("ooo.vba.word.ListTemplates");
}
return sNames;
}