accessibility/inc/strings.hrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 202bdf0673964bb405a9677ea6c0b4cfec9479cd Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Jul 29 10:05:07 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 29 11:05:20 2021 +0200 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 <sberg...@redhat.com> 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" ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits