summaryrefslogtreecommitdiffstats
path: root/sw/inc/strings.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/strings.hrc')
-rw-r--r--sw/inc/strings.hrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 5866598a5214..f0a07cd6e1b0 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -20,8 +20,8 @@
#ifndef INCLUDED_SW_INC_STRINGS_HRC
#define INCLUDED_SW_INC_STRINGS_HRC
-#define NC_(Context, String) (Context "\004" u8##String)
-#define NNC_(Context, StringSingular, StringPlural) (Context "\004" u8##StringSingular "\004" u8##StringPlural)
+#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
+#define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
// Format names
#define STR_POOLCHR_FOOTNOTE NC_("STR_POOLCHR_FOOTNOTE", "Footnote Characters")