diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:47:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:54:02 +0200 |
commit | 39642d415cd70165574f91500801d3b49c65d646 (patch) | |
tree | ac78afa2a06066dc9a7c2b53853694eef56926a5 /sw/qa/extras/rtfimport/rtfimport.cxx | |
parent | 0f11e746c8ab74f7495c29a9287da361e469689c (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sw
Change-Id: I135d01abc52ab5e97b4b360763c8a7e3ddaf0d2d
Reviewed-on: https://gerrit.libreoffice.org/76639
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/qa/extras/rtfimport/rtfimport.cxx')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 316cfc06f7d5..3155cf9f0a73 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -757,10 +757,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf105511) { struct DefaultLocale : public comphelper::ConfigurationProperty<DefaultLocale, OUString> { - static OUString path() - { - return OUString("/org.openoffice.Office.Linguistic/General/DefaultLocale"); - } + static OUString path() { return "/org.openoffice.Office.Linguistic/General/DefaultLocale"; } ~DefaultLocale() = delete; }; auto batch = comphelper::ConfigurationChanges::create(); |