summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-27 13:07:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-27 21:24:16 +0200
commitae8e1ad2e322cfa9522f793edc961203e28c1f22 (patch)
treee04c03d53101a78810511f509c81bc1cb186795b /include/editeng
parentd96b243c5d363f66e574fe68879e59244c338c22 (diff)
convert code-class in ErrCode to scoped enum
Change-Id: I9aa8703921308d6fee8bae9ee2d7b29e19181cc7 Reviewed-on: https://gerrit.libreoffice.org/41601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editerr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/editerr.hxx b/include/editeng/editerr.hxx
index 918e39a65d2d..23cc549a9cdb 100644
--- a/include/editeng/editerr.hxx
+++ b/include/editeng/editerr.hxx
@@ -21,8 +21,8 @@
#include <vcl/errcode.hxx>
-#define ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS ErrCode(ErrCodeArea::Svx, 2UL)
-#define ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT ErrCode(ErrCodeArea::Svx, 8UL | ERRCODE_CLASS_READ)
+#define ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS ErrCode(ErrCodeArea::Svx, 2)
+#define ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT ErrCode(ErrCodeArea::Svx, ErrCodeClass::Read, 8)
#endif