diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-02 14:38:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-02 21:23:23 +0200 |
commit | 6df92df74b68d5965ae3fbe9ce5cdc484f03ff20 (patch) | |
tree | 9d5d74794122af6bdab4839fc96162c86424e371 /vcl | |
parent | 344a87f0bc4027825480e1c44235bd6d8d8fc2aa (diff) |
loplugin:virtualdead
Change-Id: I5698862e5890d3208bc7012b0ce5b60520797c2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91571
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 733999f04c3a..7931bb342fa9 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -1076,8 +1076,7 @@ sal_Int8 SvTreeListBox::AcceptDrop( const AcceptDropEvent& rEvt ) && DND_ACTION_MOVE == rEvt.mnAction && (pEntry->nEntryFlags & SvTLEntryFlags::DISABLE_DROP))) { - if( NotifyAcceptDrop( pEntry )) - nRet = rEvt.mnAction; + nRet = rEvt.mnAction; } } @@ -1238,11 +1237,6 @@ DragDropMode SvTreeListBox::NotifyStartDrag( TransferDataContainer&, SvTreeListE return DragDropMode(0xffff); } -bool SvTreeListBox::NotifyAcceptDrop( SvTreeListEntry* ) -{ - return true; -} - // Handler and methods for Drag - finished handler. // The with get GetDragFinishedHdl() get link can set on the // TransferDataContainer. This link is a callback for the DragFinished @@ -1324,16 +1318,6 @@ void SvTreeListBox::InitTreeView() SetTabs(); } -OUString SvTreeListBox::GetEntryAltText( SvTreeListEntry* ) const -{ - return OUString(); -} - -OUString SvTreeListBox::GetEntryLongDescription( SvTreeListEntry* ) const -{ - return OUString(); -} - OUString SvTreeListBox::SearchEntryTextWithHeadTitle( SvTreeListEntry* pEntry ) { assert(pEntry); |