diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 09:07:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 23:42:26 +0000 |
commit | 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch) | |
tree | f8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /sw/source/uibase/inc | |
parent | 20deac4903fc0697477e855feeff482b3da234f9 (diff) |
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...
commit b44cbb26efe1d0b0950b1e1613e131b506dc3876
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jan 20 12:38:10 2015 +0200
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: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/conttree.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/edtwin.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/navipi.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/popbox.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/pview.hxx | 1 |
5 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx index 79273b06054b..7867f957c8a8 100644 --- a/sw/source/uibase/inc/conttree.hxx +++ b/sw/source/uibase/inc/conttree.hxx @@ -198,7 +198,6 @@ public: virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE; virtual bool Select( SvTreeListEntry* pEntry, bool bSelect=true ) SAL_OVERRIDE; - sal_Int32 GetEntryRealChildrenNum( SvTreeListEntry* pEntry ) const; using Control::Notify; // FIXME why do we have 2 of these virtual void Notify(SfxBroadcaster& rBC, SfxHint const& rHint) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index c1018f8f5132..5557321a5a1a 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -295,15 +295,12 @@ public: SwEditWin(vcl::Window *pParent, SwView &); virtual ~SwEditWin(); - void SwitchView(); /** * Notification about some region of the output device got invalidated. * * @param pRegion If 0, that means the whole area, otherwise the area in logic coordinates. */ void LogicInvalidate(const vcl::Region* pRegion) SAL_OVERRIDE; - /// Same as MouseMove(), but coordinates are in logic unit. - void LogicMouseMove(const MouseEvent& rMouseEvent); /// Same as MouseButtonDown(), but coordinates are in logic unit. void LogicMouseButtonDown(const MouseEvent& rMouseEvent); /// Same as MouseButtonUp(), but coordinates are in logic unit. diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx index 02c47361374f..3fa73332defc 100644 --- a/sw/source/uibase/inc/navipi.hxx +++ b/sw/source/uibase/inc/navipi.hxx @@ -115,8 +115,6 @@ class SwNavigationPI : public vcl::Window, void MakeVisible(); void InitImageList(); - SfxChildAlignment - CheckAlignment(SfxChildAlignment,SfxChildAlignment); void SetPopupWindow( SfxPopupWindow* ); using Window::Notify; @@ -124,7 +122,6 @@ class SwNavigationPI : public vcl::Window, protected: - bool Close(); virtual void Resize() SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/popbox.hxx b/sw/source/uibase/inc/popbox.hxx index fd90c912c6c5..0dbbb48bf9bf 100644 --- a/sw/source/uibase/inc/popbox.hxx +++ b/sw/source/uibase/inc/popbox.hxx @@ -33,7 +33,6 @@ class SwHelpToolBox: public ToolBox, public DropTargetHelper protected: virtual void MouseButtonDown(const MouseEvent &rEvt) SAL_OVERRIDE; - long DoubleClick(ToolBox *); virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) SAL_OVERRIDE; virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE; diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx index feeb45f2c784..d486f1764ba5 100644 --- a/sw/source/uibase/inc/pview.hxx +++ b/sw/source/uibase/inc/pview.hxx @@ -141,7 +141,6 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> CreateAccessible() SAL_OVERRIDE; - void SwitchView(); }; /** |