summaryrefslogtreecommitdiff
path: root/sc/inc/dptabsrc.hxx
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 /sc/inc/dptabsrc.hxx
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 'sc/inc/dptabsrc.hxx')
-rw-r--r--sc/inc/dptabsrc.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 5f0b9eb1a6c7..016e7090663d 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -306,8 +306,8 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual long getCount() const;
- virtual ScDPDimension* getByIndex(long nIndex) const;
+ long getCount() const;
+ ScDPDimension* getByIndex(long nIndex) const;
};
class ScDPDimension : boost::noncopyable, public cppu::WeakImplHelper5<
@@ -460,8 +460,8 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual long getCount() const;
- virtual ScDPHierarchy* getByIndex(long nIndex) const;
+ long getCount() const;
+ ScDPHierarchy* getByIndex(long nIndex) const;
};
class ScDPHierarchy : public cppu::WeakImplHelper3<
@@ -537,8 +537,8 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual long getCount() const;
- virtual ScDPLevel* getByIndex(long nIndex) const;
+ long getCount() const;
+ ScDPLevel* getByIndex(long nIndex) const;
};
class ScDPLevel : public cppu::WeakImplHelper5<