summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-20 12:45:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-20 14:58:31 +0200
commitd31570fbcc95ef718a68c4b0f94584b2b714d4f9 (patch)
tree3fe3bce4f5dd76287ae5477058658a7ae224b04c /toolkit
parentec579354af954867b829e7d08e4d752518c83728 (diff)
loplugin:virtualdead
Change-Id: Ib41d80d1e068d66edabdfb36061dd382dc34b04c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101046 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/tree/treecontrolpeer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/tree/treecontrolpeer.cxx b/toolkit/source/controls/tree/treecontrolpeer.cxx
index bc5ceaad6d46..1b302d551db9 100644
--- a/toolkit/source/controls/tree/treecontrolpeer.cxx
+++ b/toolkit/source/controls/tree/treecontrolpeer.cxx
@@ -96,7 +96,7 @@ public:
virtual void RequestingChildren( SvTreeListEntry* pParent ) override;
- virtual bool EditingEntry( SvTreeListEntry* pEntry, Selection& ) override;
+ virtual bool EditingEntry( SvTreeListEntry* pEntry ) override;
virtual bool EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText ) override;
DECL_LINK(OnSelectionChangeHdl, SvTreeListBox*, void);
@@ -1481,7 +1481,7 @@ void UnoTreeListBoxImpl::RequestingChildren( SvTreeListEntry* pParent )
}
-bool UnoTreeListBoxImpl::EditingEntry( SvTreeListEntry* pEntry, Selection& )
+bool UnoTreeListBoxImpl::EditingEntry( SvTreeListEntry* pEntry )
{
return mxPeer.is() && mxPeer->onEditingEntry( dynamic_cast< UnoTreeListEntry* >( pEntry ) );
}