From a568abf851f24cb4b3f9cadb1699154ae41b8202 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 16 Aug 2020 11:21:44 +0200 Subject: loplugin:unnecessaryvirtual Change-Id: Iafad1df533d5fefd335066427a0fb9e2d8bfa91d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100817 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/toolkit/treelistbox.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx index f485ca967b89..fd2ce95cb755 100644 --- a/include/vcl/toolkit/treelistbox.hxx +++ b/include/vcl/toolkit/treelistbox.hxx @@ -414,9 +414,9 @@ public: void ExpandedHdl(); bool ExpandingHdl(); - virtual void SelectHdl(); - virtual void DeselectHdl(); - virtual bool DoubleClickHdl(); + void SelectHdl(); + void DeselectHdl(); + bool DoubleClickHdl(); SvTreeListEntry* GetHdlEntry() const { return pHdlEntry; } // Is called for an Entry that gets expanded with the Flag @@ -580,7 +580,7 @@ public: static const Image& GetExpandedEntryBmp(const SvTreeListEntry* _pEntry ); static const Image& GetCollapsedEntryBmp(const SvTreeListEntry* _pEntry ); - virtual void CheckButtonHdl(); + void CheckButtonHdl(); void SetSublistOpenWithLeftRight(); // open/close sublist with cursor left/right @@ -673,7 +673,7 @@ public: void ShowFocusRect( const SvTreeListEntry* pEntry ); - virtual VclPtr CreateContextMenu(); + static VclPtr CreateContextMenu(); void EnableContextMenuHandling(); -- cgit