summaryrefslogtreecommitdiff
path: root/include/svtools/soerr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/soerr.hxx')
-rw-r--r--include/svtools/soerr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/soerr.hxx b/include/svtools/soerr.hxx
index 11f18da3c979..71cc15bc39f4 100644
--- a/include/svtools/soerr.hxx
+++ b/include/svtools/soerr.hxx
@@ -24,8 +24,8 @@
#include <svtools/svtdllapi.h>
// error codes
-#define SO_ERR(x) ErrCode(ERRCODE_AREA_SO | ERRCODE_CLASS_SO | x)
-#define SO_WRN(x) ErrCode(ERRCODE_AREA_SO | ERRCODE_CLASS_SO | ERRCODE_WARNING_MASK | x)
+#define SO_ERR(x) ErrCode(ErrCodeArea::So, ERRCODE_CLASS_SO | x)
+#define SO_WRN(x) ErrCode(ErrCodeArea::So, ERRCODE_CLASS_SO | ERRCODE_WARNING_MASK | x)
#define ERRCODE_SO_GENERALERROR SO_ERR(1)
#define ERRCODE_SO_FALSE SO_WRN(23)