summaryrefslogtreecommitdiff
path: root/sd/inc/sderror.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-19 18:31:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 11:08:15 +0200
commit158595543053c158a9bcb95f679e7b8a3c2e4e89 (patch)
treed15d673725cc0f4644034957b8e521875eea51e4 /sd/inc/sderror.hxx
parent87848afb9981234071efa6e2c061e1e55a712654 (diff)
Convert ErrCode area to scoped enum
Change-Id: Ifa365bbac3c7eb21da9381ec8bb3be6b6785016b Reviewed-on: https://gerrit.libreoffice.org/41402 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 2be4c8c634b3..be444100f80d 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(ERRCODE_AREA_SD | ERRCODE_CLASS_READ | 1)
-#define ERR_FORMAT_FILE_ROWCOL ErrCode(ERRCODE_AREA_SD | ERRCODE_CLASS_READ | 2)
+#define ERR_FORMAT_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 1)
+#define ERR_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 2)
// Warnings
-#define WARN_FORMAT_FILE_ROWCOL ErrCode(ERRCODE_AREA_SD | ERRCODE_WARNING_MASK | ERRCODE_CLASS_READ | 100)
+#define WARN_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_WARNING_MASK | ERRCODE_CLASS_READ | 100)
#endif