summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docbm.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/doc/docbm.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/doc/docbm.cxx')
-rw-r--r--sw/source/core/doc/docbm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 825785fa9caa..ae3c2784ba5d 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -49,7 +49,7 @@
#include <libxml/xmlwriter.h>
#include <comphelper/lok.hxx>
-#define S_ANNOTATION_BOOKMARK u"____"
+constexpr OUStringLiteral S_ANNOTATION_BOOKMARK = u"____";
using namespace ::sw::mark;