From 1597cc5b3e07dd24cb4cb10b35b1e93545e4b929 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Jul 2021 15:08:21 +0200 Subject: convert #defines to OUStringLiteral mostly by doing $ git grep -l '#define.*\"' -- *.cxx | xargs perl -pi -e 's/^#define\s+(\w+)\s+(\".*\")/constexpr OUStringLiteral \1 = u\2;/g' Change-Id: Idface893449b0ef2a3c5254865a300585d752fbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119669 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingucomponent/source/thesaurus/libnth/nthesimp.cxx') diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index cd3363b9fbc7..6fc64f781267 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -55,7 +55,7 @@ #include // XML-header to query SPELLML support -#define SPELLML_SUPPORT "" +constexpr OUStringLiteral SPELLML_SUPPORT = u""; using namespace osl; using namespace com::sun::star; -- cgit v1.2.3