summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbadocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbadocument.cxx')
-rw-r--r--sw/source/ui/vba/vbadocument.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index cb06a1e5e8e7..9752dde5c088 100644
--- a/sw/source/ui/vba/vbadocument.cxx
+++ b/sw/source/ui/vba/vbadocument.cxx
@@ -377,13 +377,13 @@ void SAL_CALL SwVbaDocument::PrintOut( const uno::Any& /*Background*/, const uno
void SAL_CALL SwVbaDocument::PrintPreview( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:PrintPreview");
+ OUString url = ".uno:PrintPreview";
dispatchRequests( mxModel,url );
}
void SAL_CALL SwVbaDocument::ClosePrintPreview( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:ClosePreview");
+ OUString url = ".uno:ClosePreview";
dispatchRequests( mxModel,url );
}
@@ -506,7 +506,7 @@ SwVbaDocument::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Document" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Document";
}
return aServiceNames;
}