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 /sd/source/ui/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 'sd/source/ui/inc')
-rw-r--r-- | sd/source/ui/inc/DrawDocShell.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawViewShell.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/inc/OutlineView.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/OutlineViewShell.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/SdUnoOutlineView.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/inc/SlideSorterViewShell.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/TextObjectBar.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/ViewShell.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/Window.hxx | 1 |
9 files changed, 0 insertions, 31 deletions
diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx index 7f7cfee5aa4f..f72acbc845e6 100644 --- a/sd/source/ui/inc/DrawDocShell.hxx +++ b/sd/source/ui/inc/DrawDocShell.hxx @@ -226,11 +226,6 @@ protected: bool mbOwnDocument; // if true, we own mpDoc and will delete it in our d'tor void Construct(bool bClipboard); virtual void InPlaceActivate( bool bActive ) SAL_OVERRIDE; -public: - void setDocAccTitle( const OUString& rTitle ); - const OUString getDocAccTitle() const; - void setDocReadOnly( bool bReadOnly); - bool getDocReadOnly() const; private: void setEditMode(DrawViewShell* pDrawViewShell, bool isMasterPage); }; diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 56dbc5f4b76f..1eb4498b423b 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -140,9 +140,6 @@ public: void ShowMousePosInfo(const Rectangle& rRect, ::sd::Window* pWin); - void AddWindow(::sd::Window* pWin); - void RemoveWindow(::sd::Window* pWin); - virtual void ChangeEditMode (EditMode eMode, bool bIsLayerModeActive); virtual void SetZoom( long nZoom ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 9d67d5c9c39c..516d2dac3378 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -93,10 +93,6 @@ public: void SetActualPage( SdPage* pActual ); void Paint (const Rectangle& rRect, ::sd::Window* pWin); - void AdjustPosSizePixel( - const Point &rPos, - const Size &rSize, - ::sd::Window* pWindow); // Callbacks fuer LINKs DECL_LINK( ParagraphInsertedHdl, Outliner * ); diff --git a/sd/source/ui/inc/OutlineViewShell.hxx b/sd/source/ui/inc/OutlineViewShell.hxx index 951c40f93c4f..cf8835d4d036 100644 --- a/sd/source/ui/inc/OutlineViewShell.hxx +++ b/sd/source/ui/inc/OutlineViewShell.hxx @@ -77,9 +77,6 @@ public: virtual long VirtHScrollHdl(ScrollBar* pHScroll) SAL_OVERRIDE; virtual long VirtVScrollHdl(ScrollBar* pVHScroll) SAL_OVERRIDE; - void AddWindow(::sd::Window* pWin); - void RemoveWindow(::sd::Window* pWin); - virtual void Activate( bool IsMDIActivate ) SAL_OVERRIDE; virtual void Deactivate( bool IsMDIActivate ) SAL_OVERRIDE; @@ -105,8 +102,6 @@ public: virtual void SetZoom(long nZoom) SAL_OVERRIDE; virtual void SetZoomRect(const Rectangle& rZoomRect) SAL_OVERRIDE; - OUString GetSelectionText( bool bCompleteWords = false ); - bool HasSelection( bool bText = true ) const; void Execute(SfxRequest& rReq); diff --git a/sd/source/ui/inc/SdUnoOutlineView.hxx b/sd/source/ui/inc/SdUnoOutlineView.hxx index 25750a4c9cde..38691b671761 100644 --- a/sd/source/ui/inc/SdUnoOutlineView.hxx +++ b/sd/source/ui/inc/SdUnoOutlineView.hxx @@ -85,11 +85,6 @@ public: css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // lang::XEventListener - void SAL_CALL - disposing (const ::com::sun::star::lang::EventObject& rEventObject) - throw (::com::sun::star::uno::RuntimeException); - // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx index ec1ab1aac49a..efeca382d336 100644 --- a/sd/source/ui/inc/SlideSorterViewShell.hxx +++ b/sd/source/ui/inc/SlideSorterViewShell.hxx @@ -72,8 +72,6 @@ public: */ static SlideSorterViewShell* GetSlideSorter (ViewShellBase& rBase); - void GetFocus (void); - void LoseFocus (void); virtual SdPage* GetActualPage (void) SAL_OVERRIDE; /// inherited from sd::ViewShell @@ -186,8 +184,6 @@ public: protected: - SvBorder GetBorder (bool bOuterResize); - /** Override this method to handle a missing tool bar correctly. This is the case when the slide sorter is not the main view shell. */ diff --git a/sd/source/ui/inc/TextObjectBar.hxx b/sd/source/ui/inc/TextObjectBar.hxx index 8e2c9e527ff0..1b12cfe1c6df 100644 --- a/sd/source/ui/inc/TextObjectBar.hxx +++ b/sd/source/ui/inc/TextObjectBar.hxx @@ -53,8 +53,6 @@ public: void GetCharState( SfxItemSet& rSet ); void Execute( SfxRequest &rReq ); - void Command( const CommandEvent& rCEvt ); - private: ViewShell* mpViewShell; ::sd::View* mpView; diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx index 589fb3594d04..b4bd3331a30e 100644 --- a/sd/source/ui/inc/ViewShell.hxx +++ b/sd/source/ui/inc/ViewShell.hxx @@ -188,8 +188,6 @@ public: bool HandleScrollCommand(const CommandEvent& rCEvt, ::sd::Window* pWin); - void Draw(OutputDevice &rDev, const ::vcl::Region &rReg); - virtual void SetUIUnit(FieldUnit eUnit); void SetDefTabHRuler( sal_uInt16 nDefTab ); diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx index e88fa1df1c8a..3eb247a9ba37 100644 --- a/sd/source/ui/inc/Window.hxx +++ b/sd/source/ui/inc/Window.hxx @@ -189,7 +189,6 @@ protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> CreateAccessible (void) SAL_OVERRIDE; - void SwitchView(); OUString GetSurroundingText() const SAL_OVERRIDE; Selection GetSurroundingTextSelection() const SAL_OVERRIDE; |