summaryrefslogtreecommitdiff
path: root/include/linguistic/misc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 11:02:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 11:36:34 +0100
commitaddf580c2846e8de6457c9e710faedd3f0a7a7de (patch)
treecc5c4ea464db9419efba9b82d055388bf6863310 /include/linguistic/misc.hxx
parentbcf601f53ca50460e973a7ad8725aeed33170b2e (diff)
loplugin:stringliteraldefine in linguistc
Change-Id: Id347daab7aa21ce8756dbc2d139ac022fc22be3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125536 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/linguistic/misc.hxx')
-rw-r--r--include/linguistic/misc.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx
index a7addd9c3246..21da5776a690 100644
--- a/include/linguistic/misc.hxx
+++ b/include/linguistic/misc.hxx
@@ -46,10 +46,10 @@ class CharClass;
class LocaleDataWrapper;
-#define SN_GRAMMARCHECKER u"com.sun.star.linguistic2.Proofreader"
-#define SN_SPELLCHECKER u"com.sun.star.linguistic2.SpellChecker"
-#define SN_HYPHENATOR u"com.sun.star.linguistic2.Hyphenator"
-#define SN_THESAURUS u"com.sun.star.linguistic2.Thesaurus"
+inline constexpr OUStringLiteral SN_GRAMMARCHECKER = u"com.sun.star.linguistic2.Proofreader";
+inline constexpr OUStringLiteral SN_SPELLCHECKER = u"com.sun.star.linguistic2.SpellChecker";
+inline constexpr OUStringLiteral SN_HYPHENATOR = u"com.sun.star.linguistic2.Hyphenator";
+inline constexpr OUStringLiteral SN_THESAURUS = u"com.sun.star.linguistic2.Thesaurus";
namespace linguistic