summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /svtools/inc
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/roadmap.hxx2
-rw-r--r--svtools/inc/table/tablecontrol.hxx2
-rw-r--r--svtools/inc/vclxaccessibleheaderbaritem.hxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/svtools/inc/roadmap.hxx b/svtools/inc/roadmap.hxx
index 362f797e5a09..c12e7449a725 100644
--- a/svtools/inc/roadmap.hxx
+++ b/svtools/inc/roadmap.hxx
@@ -93,7 +93,7 @@ namespace svt
protected:
/// called when an item has been selected by any means
- virtual void Select();
+ void Select();
private:
DECL_LINK(ImplClickHdl, HyperLabel*);
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx
index 7b0e01bf0b8d..cde9465ed222 100644
--- a/svtools/inc/table/tablecontrol.hxx
+++ b/svtools/inc/table/tablecontrol.hxx
@@ -135,7 +135,7 @@ namespace svt { namespace table
}
SVT_DLLPRIVATE virtual void Resize() SAL_OVERRIDE;
- virtual void Select();
+ void Select();
/**after removing a row, updates the vector which contains the selected rows
if the row, which should be removed, is selected, it will be erased from the vector
diff --git a/svtools/inc/vclxaccessibleheaderbaritem.hxx b/svtools/inc/vclxaccessibleheaderbaritem.hxx
index 144364f9f495..3274c7e72b36 100644
--- a/svtools/inc/vclxaccessibleheaderbaritem.hxx
+++ b/svtools/inc/vclxaccessibleheaderbaritem.hxx
@@ -58,8 +58,8 @@ private:
protected:
- virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;