From 39642d415cd70165574f91500801d3b49c65d646 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jul 2019 17:47:50 +0200 Subject: 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 --- sw/source/ui/vba/vbaapplication.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sw/source/ui/vba/vbaapplication.cxx') 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 > -- cgit