summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbadocument.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-05 10:47:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 12:53:41 +0200
commit2a3c206dfbba4677842b59d1ec22fd1ec957969a (patch)
treec21ede651d15477a2ae94c325564c1b2e2a308ca /sw/source/ui/vba/vbadocument.cxx
parenta2c7244ae1ea65345ba11c1ce2501dba34b51362 (diff)
Upcoming loplugin:elidestringvar: sw
Change-Id: I3805d7a0f8f0e93463a2285a1ce52f6a5daba27d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95578 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbadocument.cxx')
-rw-r--r--sw/source/ui/vba/vbadocument.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index 3e001d70e9ea..9d91960e55be 100644
--- a/sw/source/ui/vba/vbadocument.cxx
+++ b/sw/source/ui/vba/vbadocument.cxx
@@ -428,14 +428,12 @@ void SAL_CALL SwVbaDocument::PrintOut( const uno::Any& /*Background*/, const uno
void SAL_CALL SwVbaDocument::PrintPreview( )
{
- OUString url = ".uno:PrintPreview";
- dispatchRequests( mxModel,url );
+ dispatchRequests( mxModel,".uno:PrintPreview" );
}
void SAL_CALL SwVbaDocument::ClosePrintPreview( )
{
- OUString url = ".uno:ClosePreview";
- dispatchRequests( mxModel,url );
+ dispatchRequests( mxModel,".uno:ClosePreview" );
}
uno::Any SAL_CALL