summaryrefslogtreecommitdiff
path: root/sfx2/source/notebookbar/SfxNotebookBar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 08:45:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 13:46:48 +0200
commit914762f837cd4c1ff3a2d55284fdd631993e5e92 (patch)
treea15bfacfbda07e6d1dbbe3515d07c4acc2adf048 /sfx2/source/notebookbar/SfxNotebookBar.cxx
parentdabf9afa5ac1d53c4b785ae6e10535f762ce599d (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: Ie80ce34d2c7d2726a04b8758903329854fdeeb07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119841 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/notebookbar/SfxNotebookBar.cxx')
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index ce7c416a8c39..1589e417bd69 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -36,7 +36,7 @@ using namespace css::uno;
using namespace css::ui;
using namespace css;
-#define MENUBAR_STR "private:resource/menubar/menubar"
+constexpr OUStringLiteral MENUBAR_STR = u"private:resource/menubar/menubar";
const char MERGE_NOTEBOOKBAR_URL[] = "URL";