diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:56:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:59:48 +0200 |
commit | a324b1ca1ae6185ea39db6daf68c7210b541ae96 (patch) | |
tree | 5361504f927bd6b86047553e794b448787925eea /dbaccess/source/inc/apitools.hxx | |
parent | fd912a3db4329ce882c78f10a4dbbc4d43601118 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): dbaccess
Change-Id: I85262c1f8d875fc8556773eab8636738340068c1
Reviewed-on: https://gerrit.libreoffice.org/76686
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/inc/apitools.hxx')
-rw-r--r-- | dbaccess/source/inc/apitools.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx index ca5c4948d4a9..a3e4228f9913 100644 --- a/dbaccess/source/inc/apitools.hxx +++ b/dbaccess/source/inc/apitools.hxx @@ -63,7 +63,7 @@ public: #define IMPLEMENT_SERVICE_INFO_IMPLNAME(classname, implasciiname) \ OUString SAL_CALL classname::getImplementationName( ) \ { \ - return OUString(implasciiname); \ + return implasciiname; \ } \ #define IMPLEMENT_SERVICE_INFO_IMPLNAME_STATIC(classname, implasciiname) \ @@ -73,7 +73,7 @@ public: } \ OUString classname::getImplementationName_Static( ) \ { \ - return OUString(implasciiname); \ + return implasciiname; \ } \ #define IMPLEMENT_SERVICE_INFO_SUPPORTS(classname) \ |