summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc/apitools.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:56:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:59:48 +0200
commita324b1ca1ae6185ea39db6daf68c7210b541ae96 (patch)
tree5361504f927bd6b86047553e794b448787925eea /dbaccess/source/inc/apitools.hxx
parentfd912a3db4329ce882c78f10a4dbbc4d43601118 (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.hxx4
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) \