summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/smmod.hrc2
-rw-r--r--starmath/inc/strings.hrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/smmod.hrc b/starmath/inc/smmod.hrc
index 885af214742e..effdcdcba3bc 100644
--- a/starmath/inc/smmod.hrc
+++ b/starmath/inc/smmod.hrc
@@ -11,7 +11,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_UI_SYMBOLSET_NAMES[] =
{
diff --git a/starmath/inc/strings.hrc b/starmath/inc/strings.hrc
index b6eeff196633..4afb0d2598e6 100644
--- a/starmath/inc/strings.hrc
+++ b/starmath/inc/strings.hrc
@@ -26,7 +26,7 @@
#pragma once
-#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
+#define NC_(Context, String) TranslateId(Context, u8##String)
// clang-format off
#define RID_PLUSX_HELP NC_("RID_PLUSX_HELP", "+ Sign" )