summaryrefslogtreecommitdiff
path: root/dbaccess/inc/strings.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/inc/strings.hrc')
-rw-r--r--dbaccess/inc/strings.hrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/inc/strings.hrc b/dbaccess/inc/strings.hrc
index 1cadb41966f9..840e0b87e5e1 100644
--- a/dbaccess/inc/strings.hrc
+++ b/dbaccess/inc/strings.hrc
@@ -20,7 +20,7 @@
#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HRC
#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HRC
-#define NC_(Context, String) (Context "\004" u8##String)
+#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
#define RID_STR_CONNECTION_INVALID NC_("RID_STR_CONNECTION_INVALID", "No connection could be established.")
#define RID_STR_TABLE_IS_FILTERED NC_("RID_STR_TABLE_IS_FILTERED", "The table $name$ already exists. It is not visible because it has been filtered out.")