summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 09:35:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 08:58:33 +0200
commitf871d0e7c99d88b55c38a9878f3ef0bfec4eb089 (patch)
tree42ea0722aed24eb088b69bc99fae77971a19f1ea /include/vcl
parent52b6c6493837a6bdccffd16d06daba54e932bd07 (diff)
inline some ERRCODE_AREA aliases
and drop unused ERRCODE_AREA_OFA_END constant Change-Id: Ic34ecda7f842c5db93807b3f21aa1062966ca523 Reviewed-on: https://gerrit.libreoffice.org/39089 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/errcode.hxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/vcl/errcode.hxx b/include/vcl/errcode.hxx
index 7e74594bdb75..da83195b9c73 100644
--- a/include/vcl/errcode.hxx
+++ b/include/vcl/errcode.hxx
@@ -144,15 +144,13 @@ inline std::ostream& operator<<(std::ostream& os, const ErrCode& err)
#define ErrCode(X) (X)
#endif
-#define ERRCODE_AREA_TOOLS (0 << ERRCODE_AREA_SHIFT)
+#define ERRCODE_AREA_IO (0 << ERRCODE_AREA_SHIFT)
#define ERRCODE_AREA_SV (1 << ERRCODE_AREA_SHIFT)
#define ERRCODE_AREA_SFX (2 << ERRCODE_AREA_SHIFT)
#define ERRCODE_AREA_INET (3 << ERRCODE_AREA_SHIFT)
-#define ERRCODE_AREA_IO ERRCODE_AREA_TOOLS
#define ERRCODE_AREA_VCL (4 << ERRCODE_AREA_SHIFT)
-#define ERRCODE_AREA_LIB1 (8 << ERRCODE_AREA_SHIFT)
-#define ERRCODE_AREA_SVX ERRCODE_AREA_LIB1
+#define ERRCODE_AREA_SVX (8 << ERRCODE_AREA_SHIFT)
#define ERRCODE_AREA_SVX_END (ERRCODE_AREA_SO-1)
#define ERRCODE_AREA_SO (9 << ERRCODE_AREA_SHIFT)
#define ERRCODE_AREA_SO_END (ERRCODE_AREA_SBX-1)
@@ -185,8 +183,6 @@ inline std::ostream& operator<<(std::ostream& os, const ErrCode& err)
#define ERRCODE_AREA_SW ERRCODE_AREA_APP4
#define ERRCODE_AREA_SW_END (ERRCODE_AREA_APP5-1)
-#define ERRCODE_AREA_OFA_END (ERRCODE_AREA_APP6-1)
-
#define ERRCODE_CLASS_NONE ( 0 << ERRCODE_CLASS_SHIFT)
#define ERRCODE_CLASS_ABORT ( 1 << ERRCODE_CLASS_SHIFT)
#define ERRCODE_CLASS_GENERAL ( 2 << ERRCODE_CLASS_SHIFT)
@@ -279,9 +275,6 @@ inline std::ostream& operator<<(std::ostream& os, const ErrCode& err)
#define SVSTREAM_DISK_FULL ERRCODE_IO_OUTOFSPACE
-// For the EditEngine:
-#define SVSTREAM_ERRBASE_USER ERRCODE_AREA_LIB1
-
#define PRINTER_ABORT ERRCODE_IO_ABORT
#define PRINTER_GENERALERROR ERRCODE_IO_GENERAL