diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-08-10 13:03:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-08-10 16:49:53 +0200 |
commit | f05565193971376182db41c238b617c1463bd9d7 (patch) | |
tree | 15bfcdbe47f1d6a9bf26ba230c50c84c9d956231 /lingucomponent | |
parent | 80042cc0e9786fe8dcabe0b8f106183f8df19355 (diff) |
loplugin:stringconstant (macOS)
Change-Id: Icb9d9e1cd21e2506e36fe40a3b93b6a2521a868c
Reviewed-on: https://gerrit.libreoffice.org/77239
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 2 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx index fea3ba77c742..e26d353455fe 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx @@ -124,7 +124,7 @@ public: inline OUString MacSpellChecker::getImplementationName_Static() throw() { - return OUString( "org.openoffice.lingu.MacOSXSpellChecker" ); + return "org.openoffice.lingu.MacOSXSpellChecker"; } #endif diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index edc801c4b20a..4c97ead10acb 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -561,7 +561,7 @@ OUString SAL_CALL MacSpellChecker::getServiceDisplayName( const Locale& /*rLocale*/ ) { MutexGuard aGuard( GetLinguMutex() ); - return OUString( "macOS Spell Checker" ); + return "macOS Spell Checker"; } |