[Libreoffice-commits] core.git: accessibility/inc

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 29 09:05:53 UTC 2021


 accessibility/inc/strings.hrc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 202bdf0673964bb405a9677ea6c0b4cfec9479cd
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 29 10:05:07 2021 +0200
Commit:     Stephan Bergmann <sbergman at 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 <sbergman at 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" )


More information about the Libreoffice-commits mailing list