From ae8e1ad2e322cfa9522f793edc961203e28c1f22 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 27 Aug 2017 13:07:55 +0200 Subject: convert code-class in ErrCode to scoped enum Change-Id: I9aa8703921308d6fee8bae9ee2d7b29e19181cc7 Reviewed-on: https://gerrit.libreoffice.org/41601 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/editerr.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/editeng') 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 -#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 -- cgit