[Libreoffice-commits] core.git: 2 commits - compilerplugins/clang include/desktop include/editeng

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Nov 24 06:05:14 UTC 2018


 compilerplugins/clang/unusedenumconstants.untouched.results |    6 ------
 include/desktop/exithelper.h                                |    2 --
 include/editeng/editdata.hxx                                |    2 +-
 3 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit a78118a94efb8a13be368f73fae3f567a2d2e1e4
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Nov 22 10:59:28 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Nov 24 07:05:03 2018 +0100

    remove unused EXITHELPER_SECOND_OFFICE
    
    Change-Id: If6595b9893be5ffacf0810bcd7f1ba51d42ddd0b
    Reviewed-on: https://gerrit.libreoffice.org/63903
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results
index 2bdb2a97c26f..eee40dba2f0a 100644
--- a/compilerplugins/clang/unusedenumconstants.untouched.results
+++ b/compilerplugins/clang/unusedenumconstants.untouched.results
@@ -140,10 +140,6 @@ include/desktop/exithelper.h:25
     enum EExitCodes EXITHELPER_NO_ERROR
 include/desktop/exithelper.h:25
     int EXITHELPER_NO_ERROR
-include/desktop/exithelper.h:27
-    int EXITHELPER_SECOND_OFFICE
-include/desktop/exithelper.h:27
-    enum EExitCodes EXITHELPER_SECOND_OFFICE
 include/desktop/exithelper.h:29
     int EXITHELPER_FATAL_ERROR
 include/editeng/borderline.hxx:128
diff --git a/include/desktop/exithelper.h b/include/desktop/exithelper.h
index 76942393a4c8..4b81c68b895c 100644
--- a/include/desktop/exithelper.h
+++ b/include/desktop/exithelper.h
@@ -23,8 +23,6 @@
 enum EExitCodes {
     /* e.g. used to force showing of the command line help */
     EXITHELPER_NO_ERROR = 0,
-    /* pipe was detected - second office must terminate itself */
-    EXITHELPER_SECOND_OFFICE = 1,
     /* an uno exception was caught during startup */
     EXITHELPER_FATAL_ERROR = 77,
     /* user force automatic restart after crash */
commit 3ff1f462ea4b277b367048e52a068d877fe01c97
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Nov 22 10:48:32 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Nov 24 07:04:53 2018 +0100

    remove unused EESpellState::LanguageNotInstalled
    
    Change-Id: I8467f2807d77dad4290b0eff1336eaab40cfb20a
    Reviewed-on: https://gerrit.libreoffice.org/63902
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results
index 5504738812fe..2bdb2a97c26f 100644
--- a/compilerplugins/clang/unusedenumconstants.untouched.results
+++ b/compilerplugins/clang/unusedenumconstants.untouched.results
@@ -148,8 +148,6 @@ include/desktop/exithelper.h:29
     int EXITHELPER_FATAL_ERROR
 include/editeng/borderline.hxx:128
     enum SvxBorderLineStyle BORDER_LINE_STYLE_MAX
-include/editeng/editdata.hxx:41
-    enum EESpellState LanguageNotInstalled
 include/i18nutil/transliteration.hxx:45
     enum TransliterationFlags NumToTextLower_zh_CN
 include/i18nutil/transliteration.hxx:47
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx
index 0b2e464ca015..d0517d1dc413 100644
--- a/include/editeng/editdata.hxx
+++ b/include/editeng/editdata.hxx
@@ -38,7 +38,7 @@ enum class EEHorizontalTextDirection { Default, L2R, R2L };
 enum class EESelectionMode  { Std, Hidden };
     // EESelectionMode::Hidden can be used to completely hide the selection. This is useful e.g. when you want show the selection
     // only as long as your window (which the edit view works on) has the focus
-enum class EESpellState  { Ok, LanguageNotInstalled, NoSpeller, ErrorFound };
+enum class EESpellState  { Ok, NoSpeller, ErrorFound };
 enum class EEAnchorMode {
             TopLeft,     TopHCenter,     TopRight,
             VCenterLeft, VCenterHCenter, VCenterRight,


More information about the Libreoffice-commits mailing list