diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:49:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:56:03 +0200 |
commit | ff98f5772d959be54b2a66c226510cd92068486f (patch) | |
tree | 9a575c5da1f47cd8e57fc01df0739d70c20fa5a4 /sal/qa/rtl | |
parent | fee4b54d1c0eaf37dc1a08e4570642028a5c19fb (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sal
Change-Id: Id9d994343d10b5d5e852b10946c036dfbeb66d04
Reviewed-on: https://gerrit.libreoffice.org/76656
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/qa/rtl')
-rw-r--r-- | sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index 17e39f79cb20..384b8f59392a 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -47,7 +47,7 @@ namespace { struct Gregorian : public rtl::StaticWithInit<OUString, Gregorian> { const OUString operator () () { - return OUString( CONST_TEST_STRING ); + return CONST_TEST_STRING; } }; } |