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.hrc9
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/inc/errhdl.hrc b/sd/inc/errhdl.hrc
index bcaa2a0a5328..f568a0292f62 100644
--- a/sd/inc/errhdl.hrc
+++ b/sd/inc/errhdl.hrc
@@ -24,17 +24,14 @@
#include "sderror.hxx"
-#define ERR_CODE( class, err ) ErrCode(class | (sal_uInt32(err) - ERROR_SD_BASE))
-#define WARN_CODE( class, err ) ErrCode(class | (sal_uInt32(err) - WARN_SD_BASE))
-
const ErrMsgCode RID_SD_ERRHDL[] =
{
{ NC_("RID_SD_ERRHDL", "File format error found at $(ARG1)(row,col)."),
- ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) },
+ ERR_FORMAT_ROWCOL },
{ NC_("RID_SD_ERRHDL", "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."),
- ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) },
+ ERR_FORMAT_FILE_ROWCOL },
{ NC_("RID_SD_ERRHDL", "Format error discovered in the file in sub-document $(ARG1) at position $(ARG2)(row,col)."),
- ERR_CODE ( ERRCODE_CLASS_READ , WARN_FORMAT_FILE_ROWCOL ) },
+ WARN_FORMAT_FILE_ROWCOL },
{ nullptr, ERRCODE_NONE }
};