summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 08:37:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 10:05:10 +0100
commit10d172747ba44b405e4bf4cfe7142a23a51bb94e (patch)
tree2f4e19a1825764eecc637d54fe1c22ddbfd51e5c /accessibility
parentDrop F_2PI (diff)
downloadcore-10d172747ba44b405e4bf4cfe7142a23a51bb94e.tar.gz
core-10d172747ba44b405e4bf4cfe7142a23a51bb94e.zip
loplugin:stringliteraldefine in accessibility
Change-Id: Ie27c32ea51ebcc9ad0d0d5a1d160d55c23727cd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125274 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/strings.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/accessibility/inc/strings.hxx b/accessibility/inc/strings.hxx
index a563cf9b5bf6..baa6f9ec0d1c 100644
--- a/accessibility/inc/strings.hxx
+++ b/accessibility/inc/strings.hxx
@@ -9,13 +9,13 @@
#pragma once
-#define RID_STR_ACC_ACTION_CLICK "press"
-#define RID_STR_ACC_ACTION_TOGGLEPOPUP "togglePopup"
-#define RID_STR_ACC_ACTION_SELECT "select"
-#define RID_STR_ACC_ACTION_INCLINE "incrementLine"
-#define RID_STR_ACC_ACTION_DECLINE "decrementLine"
-#define RID_STR_ACC_ACTION_INCBLOCK "incrementBlock"
-#define RID_STR_ACC_ACTION_DECBLOCK "decrementBlock"
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_CLICK = u"press";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_TOGGLEPOPUP = u"togglePopup";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_SELECT = u"select";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_INCLINE = u"incrementLine";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_DECLINE = u"decrementLine";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_INCBLOCK = u"incrementBlock";
+inline constexpr OUStringLiteral RID_STR_ACC_ACTION_DECBLOCK = u"decrementBlock";
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */