summaryrefslogtreecommitdiff
path: root/include/editeng/editdata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/editdata.hxx')
-rw-r--r--include/editeng/editdata.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx
index 40bb2de969c4..4c493865659f 100644
--- a/include/editeng/editdata.hxx
+++ b/include/editeng/editdata.hxx
@@ -55,9 +55,9 @@ enum class EEAnchorMode {
EDITENG_DLLPUBLIC extern const size_t EE_APPEND;
// Error messages for Read / Write Method
-#define EE_READWRITE_OK (ERRCODE_NONE)
-#define EE_READWRITE_WRONGFORMAT (SVSTREAM_ERRBASE_USER+1)
-#define EE_READWRITE_GENERALERROR (SVSTREAM_ERRBASE_USER+2)
+#define EE_READWRITE_OK ERRCODE_NONE
+#define EE_READWRITE_WRONGFORMAT ErrCode(SVSTREAM_ERRBASE_USER+1)
+#define EE_READWRITE_GENERALERROR ErrCode(SVSTREAM_ERRBASE_USER+2)
#define EDITUNDO_REMOVECHARS 100
#define EDITUNDO_CONNECTPARAS 101