summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/inc/command.hrc2
-rw-r--r--extensions/inc/showhide.hrc2
-rw-r--r--extensions/inc/stringarrays.hrc2
-rw-r--r--extensions/inc/strings.hrc2
-rw-r--r--extensions/inc/yesno.hrc2
5 files changed, 5 insertions, 5 deletions
diff --git a/extensions/inc/command.hrc b/extensions/inc/command.hrc
index ca05f1c4e732..fe77e4940847 100644
--- a/extensions/inc/command.hrc
+++ b/extensions/inc/command.hrc
@@ -22,7 +22,7 @@
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
namespace {
diff --git a/extensions/inc/showhide.hrc b/extensions/inc/showhide.hrc
index 226f8b48e8fd..3b5a931419a2 100644
--- a/extensions/inc/showhide.hrc
+++ b/extensions/inc/showhide.hrc
@@ -22,7 +22,7 @@
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
namespace {
diff --git a/extensions/inc/stringarrays.hrc b/extensions/inc/stringarrays.hrc
index e567e28fe7db..6eadf46cc42f 100644
--- a/extensions/inc/stringarrays.hrc
+++ b/extensions/inc/stringarrays.hrc
@@ -22,7 +22,7 @@
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
const TranslateId RID_RSC_ENUM_VERTICAL_ALIGN[] =
{
diff --git a/extensions/inc/strings.hrc b/extensions/inc/strings.hrc
index 510afa6d671e..e124f4a635be 100644
--- a/extensions/inc/strings.hrc
+++ b/extensions/inc/strings.hrc
@@ -22,7 +22,7 @@
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
#define RID_STR_EDITMASK NC_("RID_STR_EDITMASK", "Edit mask")
#define RID_STR_LITERALMASK NC_("RID_STR_LITERALMASK", "Literal mask")
diff --git a/extensions/inc/yesno.hrc b/extensions/inc/yesno.hrc
index 32792bb81300..d205e604c495 100644
--- a/extensions/inc/yesno.hrc
+++ b/extensions/inc/yesno.hrc
@@ -22,7 +22,7 @@
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
namespace {