diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:49:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:55:24 +0200 |
commit | f5a219c3acbc47be3aaecd50cbdc70debaed5b03 (patch) | |
tree | a415306b741c3beb3f345a92ffaaf37b4cc3f2b9 /scripting/source/stringresource | |
parent | 680fb734cd7c0121cc1ba5d45e1d3f0153907fe3 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): scripting
Change-Id: I60519d5f0663ab244468f10cbc79a8fc80771726
Reviewed-on: https://gerrit.libreoffice.org/76651
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scripting/source/stringresource')
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 2c4c2f8a785d..b74f76c23906 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -80,7 +80,7 @@ static Sequence< OUString > getSupportedServiceNames_StringResourceImpl() static OUString getImplementationName_StringResourceImpl() { - return OUString( "com.sun.star.comp.scripting.StringResource" ); + return "com.sun.star.comp.scripting.StringResource"; } static Reference< XInterface > create_StringResourceImpl( @@ -683,7 +683,7 @@ StringResourcePersistenceImpl::~StringResourcePersistenceImpl() OUString StringResourcePersistenceImpl::getImplementationName( ) { - return OUString( "com.sun.star.comp.scripting.StringResource"); + return "com.sun.star.comp.scripting.StringResource"; } @@ -2065,7 +2065,7 @@ static Sequence< OUString > getSupportedServiceNames_StringResourceWithStorageIm static OUString getImplementationName_StringResourceWithStorageImpl() { - return OUString( "com.sun.star.comp.scripting.StringResourceWithStorage" ); + return "com.sun.star.comp.scripting.StringResourceWithStorage"; } static Reference< XInterface > create_StringResourceWithStorageImpl( @@ -2351,7 +2351,7 @@ static Sequence< OUString > getSupportedServiceNames_StringResourceWithLocationI static OUString getImplementationName_StringResourceWithLocationImpl() { - return OUString( "com.sun.star.comp.scripting.StringResourceWithLocation" ); + return "com.sun.star.comp.scripting.StringResourceWithLocation"; } static Reference< XInterface > create_StringResourceWithLocationImpl( |