summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-02 14:41:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-03 08:04:22 +0200
commit33852fc82b14e5a7a4295b43d2835aa620c1929a (patch)
tree4b677ec42e8e2d14cf18f9cd9e9d75742e31d67d /include
parentf0bf741e0cda449666a9648f5bd2cef7c4d919d0 (diff)
loplugin:unnecessaryvirtual
Change-Id: If50fcacc6710f582281d8030c97c39a5d2201390 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91572 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/lstbox.hxx2
-rw-r--r--include/vcl/treelistbox.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index 16e3bf591051..cc6576c32487 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -132,7 +132,7 @@ public:
virtual void UserDraw( const UserDrawEvent& rUDEvt );
virtual void Select();
- virtual void DoubleClick();
+ void DoubleClick();
virtual void GetFocus() override;
virtual void LoseFocus() override;
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index a227b130c612..af2c5c648735 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -465,7 +465,7 @@ public:
sal_uLong& rNewChildPos); // The TargetParent's position in Childlist
// Return value: TRISTATE_TRUE == Ok, TRISTATE_FALSE == Cancel, TRISTATE_INDET == Ok and Make visible moved entry
- virtual TriState NotifyCopying(
+ TriState NotifyCopying(
SvTreeListEntry* pTarget, // D'n'D DropPosition in GetModel()
SvTreeListEntry* pEntry, // Entry to be copied from GetSourceListBox()->GetModel()
SvTreeListEntry*& rpNewParent, // New TargetParent
@@ -662,7 +662,7 @@ public:
virtual tools::Rectangle GetFocusRect(const SvTreeListEntry*, long nLine );
// Respects indentation
- virtual sal_IntPtr GetTabPos(const SvTreeListEntry*, SvLBoxTab*);
+ sal_IntPtr GetTabPos(const SvTreeListEntry*, SvLBoxTab*);
void InvalidateEntry( SvTreeListEntry* );
SvLBoxItem* GetItem( SvTreeListEntry*, long nX, SvLBoxTab** ppTab);
SvLBoxItem* GetItem( SvTreeListEntry*, long nX );