diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-29 09:35:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-29 14:45:43 +0200 |
commit | 73e6a7975b3508c5cfccb3df7c35b0303f87d9bb (patch) | |
tree | 0b9a2c93b1db01dd476be1479022ac5066980db9 /svtools/source | |
parent | 3138abfb052a4241cfca4b8d430c139cca50a85c (diff) |
loplugin:unusedmethods
Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3
Reviewed-on: https://gerrit.libreoffice.org/52066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/contnr/treelist.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
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(); |