summaryrefslogtreecommitdiff
path: root/sd/inc/sderror.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc/sderror.hxx')
-rw-r--r--sd/inc/sderror.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/sderror.hxx b/sd/inc/sderror.hxx
index be444100f80d..a337c3018917 100644
--- a/sd/inc/sderror.hxx
+++ b/sd/inc/sderror.hxx
@@ -23,11 +23,11 @@
#include <vcl/errcode.hxx>
// Import errors
-#define ERR_FORMAT_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 1)
-#define ERR_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 2)
+#define ERR_FORMAT_ROWCOL ErrCode(ErrCodeArea::Sd, ErrCodeClass::Read, 1)
+#define ERR_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ErrCodeClass::Read, 2)
// Warnings
-#define WARN_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_WARNING_MASK | ERRCODE_CLASS_READ | 100)
+#define WARN_FORMAT_FILE_ROWCOL ErrCode(WarningFlag::Yes, ErrCodeArea::Sd, ErrCodeClass::Read, 100)
#endif