[Libreoffice-commits] core.git: compilerplugins/clang sc/inc sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Nov 24 20:24:31 UTC 2018


 compilerplugins/clang/unusedenumconstants.readonly.results |    2 --
 sc/inc/types.hxx                                           |    1 -
 sc/source/core/data/bcaslot.cxx                            |    4 ----
 3 files changed, 7 deletions(-)

New commits:
commit 843c55d132a1889ffbdfe230a48bb6dfae7d62a3
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Nov 22 16:08:47 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Nov 24 21:24:11 2018 +0100

    remove unused sc::ListenerGroupType::Single
    
    Change-Id: I98a279731b22f88f57ab667b6f5ef8c71b030832
    Reviewed-on: https://gerrit.libreoffice.org/63945
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/unusedenumconstants.readonly.results b/compilerplugins/clang/unusedenumconstants.readonly.results
index 139c7cc8932d..13c2670990e9 100644
--- a/compilerplugins/clang/unusedenumconstants.readonly.results
+++ b/compilerplugins/clang/unusedenumconstants.readonly.results
@@ -1170,8 +1170,6 @@ sc/inc/types.hxx:38
     enum ScMatValType NonvalueMask
 sc/inc/types.hxx:56
     enum ScFormulaVectorState FormulaVectorDisabledNotInSoftwareSubset
-sc/inc/types.hxx:123
-    enum sc::ListenerGroupType Single
 sc/source/filter/lotus/lotread.cxx:41
     enum STATE S_WK1
 sc/source/ui/inc/viewdata.hxx:43
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx
index 51898c291fde..995f715c37c3 100644
--- a/sc/inc/types.hxx
+++ b/sc/inc/types.hxx
@@ -120,7 +120,6 @@ enum AreaOverlapType
 
 enum class ListenerGroupType
 {
-    Single,
     Group,
     Both
 };
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index f607d20fc80e..f63e116cc083 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -517,10 +517,6 @@ void ScBroadcastAreaSlot::GetAllListeners(
         const ScRange& rAreaRange = pArea->GetRange();
         switch (eGroup)
         {
-            case sc::ListenerGroupType::Single:
-                if (pArea->IsGroupListening())
-                    continue;
-            break;
             case sc::ListenerGroupType::Group:
                 if (!pArea->IsGroupListening())
                     continue;


More information about the Libreoffice-commits mailing list