[Libreoffice-commits] core.git: include/vcl vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 11 10:14:49 UTC 2018


 include/vcl/treelist.hxx         |    1 -
 vcl/source/treelist/treelist.cxx |    3 ---
 2 files changed, 4 deletions(-)

New commits:
commit 2b14ac71e71058b5804c287a45e389226a210f86
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 11 10:11:59 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Dec 11 11:14:28 2018 +0100

    SvListAction::REVERSING is unused
    
    Change-Id: I188fbdd3855abff340790451e3939d2486067180
    Reviewed-on: https://gerrit.libreoffice.org/64922
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx
index 89193c850580..3b7eba4a2c36 100644
--- a/include/vcl/treelist.hxx
+++ b/include/vcl/treelist.hxx
@@ -45,7 +45,6 @@ enum class SvListAction
     RESORTING        = 9,
     RESORTED         = 10,
     CLEARED          = 11,
-    REVERSING        = 12,
     REVERSED         = 13
 };
 
diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx
index f9078ea36a16..572cef42fe38 100644
--- a/vcl/source/treelist/treelist.cxx
+++ b/vcl/source/treelist/treelist.cxx
@@ -1334,8 +1334,6 @@ void SvListView::ModelNotification( SvListAction nActionId, SvTreeListEntry* pEn
             break;
         case SvListAction::RESORTING:
             break;
-        case SvListAction::REVERSING:
-            break;
         case SvListAction::REVERSED:
             m_pImpl->m_bVisPositionsValid = false;
             break;
@@ -1451,7 +1449,6 @@ void SvTreeList::ResortChildren( SvTreeListEntry* pParent )
 
 void SvTreeList::Reverse()
 {
-    Broadcast(SvListAction::REVERSING);
     bAbsPositionsValid = false;
     ReverseChildren(pRootItem.get());
     Broadcast(SvListAction::REVERSED);


More information about the Libreoffice-commits mailing list