From 73e6a7975b3508c5cfccb3df7c35b0303f87d9bb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Mar 2018 09:35:22 +0200 Subject: loplugin:unusedmethods Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3 Reviewed-on: https://gerrit.libreoffice.org/52066 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/contnr/treelist.cxx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'svtools') diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index e227891dd572..2b1f3eff5a3e 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1050,23 +1050,6 @@ bool SvTreeList::Remove( const SvTreeListEntry* pEntry ) return true; } -void SvTreeList::SelectAll( SvListView* pView, bool bSelect ) -{ - assert(pView && "SelectAll:NoView"); - SvTreeListEntry* pEntry = First(); - while ( pEntry ) - { - SvViewDataEntry* pViewData = pView->GetViewData( pEntry ); - pViewData->SetSelected(bSelect); - pEntry = Next( pEntry ); - } - if ( bSelect ) - pView->m_pImpl->m_nSelectionCount = nEntryCount; - else - pView->m_pImpl->m_nSelectionCount = 0; -} - - SvTreeListEntry* SvTreeList::GetEntryAtAbsPos( sal_uLong nAbsPos ) const { SvTreeListEntry* pEntry = First(); -- cgit