diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:47:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:54:02 +0200 |
commit | 39642d415cd70165574f91500801d3b49c65d646 (patch) | |
tree | ac78afa2a06066dc9a7c2b53853694eef56926a5 /sw/source/ui/vba/vbaapplication.cxx | |
parent | 0f11e746c8ab74f7495c29a9287da361e469689c (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sw
Change-Id: I135d01abc52ab5e97b4b360763c8a7e3ddaf0d2d
Reviewed-on: https://gerrit.libreoffice.org/76639
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbaapplication.cxx')
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index 857ca1231f89..1c5891ac4d63 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -165,7 +165,7 @@ SwVbaApplication::RemoveSink( sal_uInt32 nNumber ) OUString SAL_CALL SwVbaApplication::getName() { - return OUString("Microsoft Word" ); + return "Microsoft Word"; } uno::Reference< word::XDocument > SAL_CALL @@ -372,7 +372,7 @@ void SAL_CALL SwVbaApplication::setTop( sal_Int32 _top ) OUString SAL_CALL SwVbaApplication::getStatusBar() { - return OUString(""); + return ""; } uno::Any SAL_CALL SwVbaApplication::getCustomizationContext() @@ -443,7 +443,7 @@ void SAL_CALL SwVbaApplication::Move( sal_Int32 Left, sal_Int32 Top ) OUString SAL_CALL SwVbaApplication::getIID() { - return OUString("{82154421-0FBF-11d4-8313-005004526AB4}"); + return "{82154421-0FBF-11d4-8313-005004526AB4}"; } // XConnectable @@ -451,7 +451,7 @@ SwVbaApplication::getIID() OUString SAL_CALL SwVbaApplication::GetIIDForClassItselfNotCoclass() { - return OUString("{82154423-0FBF-11D4-8313-005004526AB4}"); + return "{82154423-0FBF-11D4-8313-005004526AB4}"; } TypeAndIID SAL_CALL @@ -475,7 +475,7 @@ SwVbaApplication::FindConnectionPoint() OUString SwVbaApplication::getServiceImplName() { - return OUString("SwVbaApplication"); + return "SwVbaApplication"; } uno::Sequence< OUString > |