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/core/tool/formulaopt.cxx | |
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/core/tool/formulaopt.cxx')
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index 7305c3d550e6..d72e8e7db906 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -146,7 +146,7 @@ ScTpFormulaItem* ScTpFormulaItem::Clone( SfxItemPool * ) const return new ScTpFormulaItem( *this ); } -#define CFGPATH_FORMULA "Office.Calc/Formula" +constexpr OUStringLiteral CFGPATH_FORMULA = u"Office.Calc/Formula"; #define SCFORMULAOPT_GRAMMAR 0 #define SCFORMULAOPT_ENGLISH_FUNCNAME 1 |