summaryrefslogtreecommitdiff
path: root/vcl/source/treelist
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 15:20:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-19 07:59:43 +0200
commit74f938bb10b6db8cae071efc9fd29015befeb5e6 (patch)
tree8d35905cdf1293819797c6b03bb93678b63796cc /vcl/source/treelist
parentb98cb40d974d40d131b6b25f96e9c53890154296 (diff)
loplugin:unusedmethods
Change-Id: I95e63105654952d12c1dfd62f51593de114be569 Reviewed-on: https://gerrit.libreoffice.org/81077 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/treelist')
-rw-r--r--vcl/source/treelist/treelist.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx
index 797c8405ebb5..49ac19692756 100644
--- a/vcl/source/treelist/treelist.cxx
+++ b/vcl/source/treelist/treelist.cxx
@@ -1334,9 +1334,6 @@ void SvListView::ModelNotification( SvListAction nActionId, SvTreeListEntry* pEn
break;
case SvListAction::RESORTING:
break;
- case SvListAction::REVERSED:
- m_pImpl->m_bVisPositionsValid = false;
- break;
default:
OSL_FAIL("unknown ActionId");
}
@@ -1455,13 +1452,6 @@ void SvTreeList::ResortChildren( SvTreeListEntry* pParent )
SetListPositions(pParent->m_Children); // correct list position in target list
}
-void SvTreeList::Reverse()
-{
- bAbsPositionsValid = false;
- ReverseChildren(pRootItem.get());
- Broadcast(SvListAction::REVERSED);
-}
-
void SvTreeList::ReverseChildren( SvTreeListEntry* pParent )
{
DBG_ASSERT(pParent,"Parent not set");