diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:48:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:54:24 +0200 |
commit | 0f1af34528565809affd76d5efa49b254bc26145 (patch) | |
tree | 8d3a86250950d8f4c77d4143cff58f82c6a2b23b /svl/source/items | |
parent | 086ce5c2bb036ca8268f8bcb19099866f8561047 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): svl
Change-Id: I7df3b3c430c0bb8e12eeedc1d0bf11d1f7453f55
Reviewed-on: https://gerrit.libreoffice.org/76642
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/macitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index 4eeaa823e2a3..5f923774b513 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -41,15 +41,15 @@ OUString SvxMacro::GetLanguage()const { if(eType==STARBASIC) { - return OUString(SVX_MACRO_LANGUAGE_STARBASIC); + return SVX_MACRO_LANGUAGE_STARBASIC; } else if(eType==JAVASCRIPT) { - return OUString(SVX_MACRO_LANGUAGE_JAVASCRIPT); + return SVX_MACRO_LANGUAGE_JAVASCRIPT; } else if(eType==EXTENDED_STYPE) { - return OUString(SVX_MACRO_LANGUAGE_SF); + return SVX_MACRO_LANGUAGE_SF; } return aLibName; |