accessibility/inc/strings.hxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 10d172747ba44b405e4bf4cfe7142a23a51bb94e
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Nov 19 08:37:07 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Nov 19 10:05:10 2021 +0100

    loplugin:stringliteraldefine in accessibility
    
    Change-Id: Ie27c32ea51ebcc9ad0d0d5a1d160d55c23727cd5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125274
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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: */

Reply via email to