diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:49:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:55:48 +0200 |
commit | ef59252a7a3e9474569710866ab4ff5c1225cff7 (patch) | |
tree | 2e44048187b5606567e6e89771605437adeaf895 /sc/inc | |
parent | b890de156e335eb10ba70530d9b0599d602ccf07 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sc
Change-Id: I1bfd2bb623aac5ac457a0b719da64ab393ccd0ba
Reviewed-on: https://gerrit.libreoffice.org/76654
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/miscuno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx index 2fe74f0dfe1a..fd7466279d0e 100644 --- a/sc/inc/miscuno.hxx +++ b/sc/inc/miscuno.hxx @@ -35,7 +35,7 @@ #define SC_SIMPLE_SERVICE_INFO( ClassName, ClassNameAscii, ServiceAscii ) \ OUString SAL_CALL ClassName::getImplementationName() \ { \ - return OUString(ClassNameAscii); \ + return ClassNameAscii; \ } \ sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \ { \ |