diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-20 12:38:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-26 08:42:28 +0200 |
commit | b44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch) | |
tree | 9b4d5d99e5dad0971079b997a02a6d96536709ca /svx/inc | |
parent | 26ad60aec69310fecd918f1c2e09056aa4782320 (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 'svx/inc')
-rw-r--r-- | svx/inc/svdibrow.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index c2a032c9d5ab..3c1fde170513 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -62,7 +62,7 @@ protected: virtual void DoubleClick(const BrowserMouseEvent&) SAL_OVERRIDE; virtual void KeyInput(const KeyEvent& rEvt) SAL_OVERRIDE; virtual void Select() SAL_OVERRIDE; - virtual void SetDirty(); // is called for example in mode switches + void SetDirty(); // is called for example in mode switches virtual Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex) SAL_OVERRIDE; virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,const Point& _rPoint) SAL_OVERRIDE; public: @@ -72,9 +72,9 @@ public: void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=NULL); sal_uIntPtr GetCurrentPos() const; sal_uInt16 GetCurrentWhich() const; - virtual bool BegChangeEntry(sal_uIntPtr nPos); - virtual bool EndChangeEntry(); - virtual void BrkChangeEntry(); + bool BegChangeEntry(sal_uIntPtr nPos); + bool EndChangeEntry(); + void BrkChangeEntry(); /** GetCellText returns the text at the given position @param _nRow |