summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/core_resource.hrc2
-rw-r--r--formula/inc/strings.hrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/formula/inc/core_resource.hrc b/formula/inc/core_resource.hrc
index 111fafdedc88..baed318f586e 100644
--- a/formula/inc/core_resource.hrc
+++ b/formula/inc/core_resource.hrc
@@ -23,7 +23,7 @@
#include <utility>
#include <unotools/resmgr.hxx>
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
/** These English names are used to store/load ODFF as of ODF v1.2. */
// NAMES CAN ONLY BE CHANGED WHEN PROVIDING BACKWARD AND FORWARD COMPATIBILITY
diff --git a/formula/inc/strings.hrc b/formula/inc/strings.hrc
index 7bdc7139799a..63551e6deb25 100644
--- a/formula/inc/strings.hrc
+++ b/formula/inc/strings.hrc
@@ -19,7 +19,7 @@
#pragma once
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
#define STR_OPTIONAL NC_("STR_OPTIONAL", "(optional)")
#define STR_REQUIRED NC_("STR_REQUIRED", "(required)")