diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/basic.hrc | 2 | ||||
-rw-r--r-- | basic/inc/strings.hrc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/inc/basic.hrc b/basic/inc/basic.hrc index 36fe29f11ef3..c860fce7aaed 100644 --- a/basic/inc/basic.hrc +++ b/basic/inc/basic.hrc @@ -20,7 +20,7 @@ #ifndef INCLUDED_BASIC_INC_STRINGS_HRC #define INCLUDED_BASIC_INC_STRINGS_HRC -#define NC_(Context, String) (Context "\004" u8##String) +#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) std::pair<const char*, ErrCode> const RID_BASIC_START[] = { diff --git a/basic/inc/strings.hrc b/basic/inc/strings.hrc index deab90a91eb5..c257ac2fd225 100644 --- a/basic/inc/strings.hrc +++ b/basic/inc/strings.hrc @@ -20,7 +20,7 @@ #ifndef INCLUDED_BASIC_INC_STRINGS_HRC #define INCLUDED_BASIC_INC_STRINGS_HRC -#define NC_(Context, String) (Context "\004" u8##String) +#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #define STR_BASICKEY_FORMAT_ON NC_("STR_BASICKEY_FORMAT_ON", "On") #define STR_BASICKEY_FORMAT_OFF NC_("STR_BASICKEY_FORMAT_OFF", "Off") |