summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfcol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 08:45:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 10:20:55 +0200
commit5f74a9c6b50b5689996ff93c95701eb4fc45b50f (patch)
tree7304cd49c9fad68bc7266042c061ca3478fc243d /sw/source/core/edit/edfcol.cxx
parent0b5869d9f898ad8533a7c49a135efa739b8c465e (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: I140932a94914d3870f0d92e11a6ada2b42359e30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119842 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edfcol.cxx')
-rw-r--r--sw/source/core/edit/edfcol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 961c5062a5f3..6dcc594958b0 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -98,7 +98,7 @@
#include <SwStyleNameMapper.hxx>
#include <comphelper/lok.hxx>
-#define WATERMARK_NAME "PowerPlusWaterMarkObject"
+constexpr OUStringLiteral WATERMARK_NAME = u"PowerPlusWaterMarkObject";
#define WATERMARK_AUTO_SIZE sal_uInt32(1)
namespace