diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-02 08:45:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-02 09:49:56 +0200 |
commit | 9c5744adbd97821b5574d55266f8a4e60fd925da (patch) | |
tree | f6318a932216bb25675029e9ac58f280a64c62b5 /sc/source/ui/app | |
parent | 559b342a62901754222723ee522f5ae80e4d40f5 (diff) |
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: I7467f9067085ac89b98a0398811396c448339b4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119840
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index b37fe3ad3b4b..fe7bf3b2bce9 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -2170,7 +2170,7 @@ std::shared_ptr<SfxDialogController> ScModule::Find1RefWindow(sal_uInt16 nSlotId using namespace com::sun::star; -#define LINGUPROP_AUTOSPELL "IsSpellAuto" +constexpr OUStringLiteral LINGUPROP_AUTOSPELL = u"IsSpellAuto"; void ScModule::GetSpellSettings( LanguageType& rDefLang, LanguageType& rCjkLang, LanguageType& rCtlLang, bool& rAutoSpell ) |