[Libreoffice-commits] core.git: include/editeng

Noel Grandin noel.grandin at collabora.co.uk
Wed Jun 21 18:59:37 UTC 2017


 include/editeng/editdata.hxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 452ad2afc5a474f78783ddabd04980e962532935
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Jun 21 13:27:40 2017 +0200

    remove unused EE_READWRITE constants
    
    just as well EE_READWRITE_GENERALERROR is unused, since it's value
    overlaps with ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS
    
    Change-Id: I9752d78ae8510f650d709ee0d4f28b536494ec06
    Reviewed-on: https://gerrit.libreoffice.org/39057
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx
index 4c493865659f..be5cc4377077 100644
--- a/include/editeng/editdata.hxx
+++ b/include/editeng/editdata.hxx
@@ -55,9 +55,7 @@ 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     ErrCode(SVSTREAM_ERRBASE_USER+1)
-#define EE_READWRITE_GENERALERROR    ErrCode(SVSTREAM_ERRBASE_USER+2)
 
 #define EDITUNDO_REMOVECHARS        100
 #define EDITUNDO_CONNECTPARAS       101


More information about the Libreoffice-commits mailing list