summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-07-29 10:05:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-07-29 11:05:20 +0200
commit202bdf0673964bb405a9677ea6c0b4cfec9479cd (patch)
treeee8e6c03e4c51c0a77652a6bea2e5da70e1db1e6
parent77c39371e3c2965982006f3d060148d05839e95b (diff)
Adapt again to C++20 char8_t
...after 53840ffd9755bbf2965676136c9772089891bfe8 "Pass context and resource string down to boost::locale separately" Change-Id: I3c010a00d66b9831e3f29581c56390b312dbe04c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119651 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--accessibility/inc/strings.hrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/inc/strings.hrc b/accessibility/inc/strings.hrc
index 7e51ade2d46d..c9949dd4357d 100644
--- a/accessibility/inc/strings.hrc
+++ b/accessibility/inc/strings.hrc
@@ -19,7 +19,7 @@
#pragma once
-#define NC_(Context, String) TranslateId(Context, u8##String)
+#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
#define RID_STR_ACC_NAME_BROWSEBUTTON NC_("RID_STR_ACC_NAME_BROWSEBUTTON", "Browse")
#define STR_SVT_ACC_ACTION_EXPAND NC_("STR_SVT_ACC_ACTION_EXPAND", "Expand" )