summaryrefslogtreecommitdiff
path: root/vcl/source/treelist
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 16:11:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-20 21:53:47 +0200
commitfb74f7b6631d0c01de9919dfe77894588dea1c45 (patch)
tree7dd05b154af57b234f3346ef21f8769005da1769 /vcl/source/treelist
parent1d5261adcc7ad4178a242651449d189fdbdd91a9 (diff)
loplugin:virtualdead unused param in SvListView::ModelIsMoving
Change-Id: I83af14bb3a29cb8a4a36f714ac2fb91687f13996 Reviewed-on: https://gerrit.libreoffice.org/81156 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.cxx7
-rw-r--r--vcl/source/treelist/treelistbox.cxx4
2 files changed, 4 insertions, 7 deletions
diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx
index 49ac19692756..11a4221e5305 100644
--- a/vcl/source/treelist/treelist.cxx
+++ b/vcl/source/treelist/treelist.cxx
@@ -1157,8 +1157,7 @@ void SvListView::ModelHasInsertedTree( SvTreeListEntry* )
{
}
-void SvListView::ModelIsMoving( SvTreeListEntry* /* pSource */ ,
- SvTreeListEntry* /* pTargetParent */ , sal_uLong /* nPos */ )
+void SvListView::ModelIsMoving( SvTreeListEntry* /* pSource */ )
{
}
@@ -1292,7 +1291,7 @@ void SvListView::Impl::ActionClear()
}
void SvListView::ModelNotification( SvListAction nActionId, SvTreeListEntry* pEntry1,
- SvTreeListEntry* pEntry2, sal_uLong nPos )
+ SvTreeListEntry* /*pEntry2*/, sal_uLong /*nPos*/ )
{
switch( nActionId )
{
@@ -1312,7 +1311,7 @@ void SvListView::ModelNotification( SvListAction nActionId, SvTreeListEntry* pEn
ModelHasRemoved( pEntry1 );
break;
case SvListAction::MOVING:
- ModelIsMoving( pEntry1, pEntry2, nPos );
+ ModelIsMoving( pEntry1 );
m_pImpl->ActionMoving( pEntry1 );
break;
case SvListAction::MOVED:
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx
index 6569fc6b7c82..529839943445 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -2230,9 +2230,7 @@ void SvTreeListBox::ModelHasInserted( SvTreeListEntry* pEntry )
pImpl->EntryInserted( pEntry );
}
-void SvTreeListBox::ModelIsMoving(SvTreeListEntry* pSource,
- SvTreeListEntry* /* pTargetParent */,
- sal_uLong /* nChildPos */ )
+void SvTreeListBox::ModelIsMoving(SvTreeListEntry* pSource )
{
pImpl->MovingEntry( pSource );
}