summaryrefslogtreecommitdiff
path: root/sd/inc/errhdl.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc/errhdl.hrc')
-rw-r--r--sd/inc/errhdl.hrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/errhdl.hrc b/sd/inc/errhdl.hrc
index affe12ac4331..ea7d4e7127d7 100644
--- a/sd/inc/errhdl.hrc
+++ b/sd/inc/errhdl.hrc
@@ -19,7 +19,7 @@
#pragma once
-#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
+#define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
#include <svtools/ehdl.hxx>
#include <vcl/errcode.hxx>
@@ -33,7 +33,7 @@ const ErrMsgCode RID_SD_ERRHDL[] =
ERR_FORMAT_FILE_ROWCOL },
{ NC_("RID_SD_ERRHDL", "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."),
WARN_FORMAT_FILE_ROWCOL },
- { nullptr, ERRCODE_NONE }
+ { {}, ERRCODE_NONE }
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */