summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-31 16:56:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-31 21:20:22 +0200
commitdf33c7a0747210b30ca1870877cc06c3fc1c4328 (patch)
tree9e243e5ff4280c8aaab953342b93ae950bfc7519 /vcl
parent50fd69dfe25d14c75f0dae7fa1bf276ea6deefd3 (diff)
drop unused SvTreeList::LastSelected
Change-Id: I3c51030b8b7a03d944bdaa5e8bc4fb0f443061f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99892 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/treelist.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx
index 4f2cd1dfee0c..c9d6c264eaaf 100644
--- a/vcl/source/treelist/treelist.cxx
+++ b/vcl/source/treelist/treelist.cxx
@@ -787,15 +787,6 @@ SvTreeListEntry* SvTreeList::NextSelected( const SvListView* pView, SvTreeListEn
return pEntry;
}
-SvTreeListEntry* SvTreeList::LastSelected( const SvListView* pView ) const
-{
- DBG_ASSERT(pView,"LastSel:No View");
- SvTreeListEntry* pEntry = Last();
- while( pEntry && !pView->IsSelected(pEntry) )
- pEntry = Prev( pEntry );
- return pEntry;
-}
-
sal_uLong SvTreeList::Insert( SvTreeListEntry* pEntry,SvTreeListEntry* pParent,sal_uLong nPos )
{
DBG_ASSERT( pEntry,"Entry?");