diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 08:21:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-15 14:05:41 +0000 |
commit | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch) | |
tree | 0785de1a2f8995d1d4ede7889541bda9b59f893f /sd | |
parent | 7da80de2c75e048a08ea6e923a9f433a638a9f12 (diff) |
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
37 files changed, 1 insertions, 234 deletions
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx index 9949f6339cb8..5a0832cd1f21 100644 --- a/sd/inc/stlpool.hxx +++ b/sd/inc/stlpool.hxx @@ -120,8 +120,6 @@ public: virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL acquire() throw () override; - virtual void SAL_CALL release() throw () override; protected: void RenameAndCopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets, OUString &rRenameSuffix); void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily ); diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx index e6f8522da705..ef8d9263d5d0 100644 --- a/sd/inc/stlsheet.hxx +++ b/sd/inc/stlsheet.hxx @@ -131,7 +131,6 @@ protected: static const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) throw (css::uno::RuntimeException); virtual void Load (SvStream& rIn, sal_uInt16 nVersion) override; - virtual void Store(SvStream& rOut) override; virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override; virtual ~SdStyleSheet(); diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 90ce2f7905b4..9ca1277f2856 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -1423,14 +1423,4 @@ SdStyleSheetVector SdStyleSheetPool::CreateChildList( SdStyleSheet* pSheet ) return aResult; } -void SAL_CALL SdStyleSheetPool::acquire() throw () -{ - SdStyleSheetPoolBase::acquire(); -} - -void SAL_CALL SdStyleSheetPool::release() throw () -{ - SdStyleSheetPoolBase::release(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 2202ee28334d..2550a68f15e6 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -175,11 +175,6 @@ void SdStyleSheet::Load (SvStream& rIn, sal_uInt16 nVersion) nMask &= ~SFXSTYLEBIT_READONLY; } -void SdStyleSheet::Store(SvStream& rOut) -{ - SfxStyleSheetBase::Store(rOut); -} - bool SdStyleSheet::SetParent(const OUString& rParentName) { bool bResult = false; diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx index 2fe6584341e1..7fb492eecdac 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx @@ -191,13 +191,6 @@ OUString SAL_CALL //===== XEventListener ====================================================== -void SAL_CALL - AccessibleOutlineView::disposing (const lang::EventObject& rEventObject) - throw (css::uno::RuntimeException, std::exception) -{ - AccessibleDocumentViewBase::disposing (rEventObject); -} - //===== protected internal ================================================== void AccessibleOutlineView::Activated() diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx index 7b2c632c72ec..e89d965ec954 100644 --- a/sd/source/ui/accessibility/AccessiblePageShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx @@ -54,11 +54,6 @@ AccessiblePageShape::~AccessiblePageShape() OSL_TRACE ("~AccessiblePageShape"); } -void AccessiblePageShape::Init() -{ - AccessibleShape::Init (); -} - //===== XAccessibleContext ================================================== sal_Int32 SAL_CALL diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index b5875ddacbdd..90182198ba3d 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -951,11 +951,6 @@ void CustomAnimationList::ExecuteContextMenuAction( sal_uInt16 nSelectedPopupEnt mpController->onContextMenu( nSelectedPopupEntry ); } -void CustomAnimationList::SetTabs() -{ - SvTreeListBox::SetTabs(); -} - void CustomAnimationList::notify_change() { update(); diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx index 260668b5a364..a45a303e4e93 100644 --- a/sd/source/ui/animations/CustomAnimationList.hxx +++ b/sd/source/ui/animations/CustomAnimationList.hxx @@ -81,8 +81,6 @@ public: virtual void KeyInput( const KeyEvent& rKEvt ) override; - virtual void SetTabs() override; - virtual void notify_change() override; const Image& getImage( sal_uInt16 nId ); diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 0e59a38b8f8a..d0b1aa4be26a 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -226,16 +226,6 @@ void AnnotationTextWindow::Command( const CommandEvent& rCEvt ) } } -void AnnotationTextWindow::GetFocus() -{ - Window::GetFocus(); -} - -void AnnotationTextWindow::LoseFocus() -{ - Window::LoseFocus(); -} - OUString AnnotationTextWindow::GetSurroundingText() const { if( mpOutlinerView ) @@ -448,11 +438,6 @@ void AnnotationWindow::DoResize() } -void AnnotationWindow::SetSizePixel( const Size& rNewSize ) -{ - Window::SetSizePixel(rNewSize); -} - void AnnotationWindow::SetScrollbar() { mpVScrollbar->SetThumbPos(mpOutlinerView->GetVisArea().Top()); diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx index 0ce319766afa..90ccbf350c3c 100644 --- a/sd/source/ui/annotations/annotationwindow.hxx +++ b/sd/source/ui/annotations/annotationwindow.hxx @@ -59,7 +59,6 @@ protected: virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void MouseButtonUp( const MouseEvent& rMEvt ) override; virtual void Command( const CommandEvent& rCEvt ) override; - virtual void LoseFocus() override; public: AnnotationTextWindow( AnnotationWindow* pParent, WinBits nBits ); @@ -70,8 +69,6 @@ public: virtual OUString GetSurroundingText() const override; virtual Selection GetSurroundingTextSelection() const override; - - virtual void GetFocus() override; }; class AnnotationWindow : public FloatingWindow @@ -94,8 +91,6 @@ class AnnotationWindow : public FloatingWindow basegfx::B2DPolygon maPopupTriangle; protected: - void SetSizePixel( const Size& rNewSize ) override; - DECL_LINK_TYPED(ScrollHdl, ScrollBar*, void); public: diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index 702d1bd0a106..5661a463c61e 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -336,11 +336,6 @@ bool FuConstruct3dObject::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -bool FuConstruct3dObject::MouseMove(const MouseEvent& rMEvt) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstruct3dObject::MouseButtonUp(const MouseEvent& rMEvt) { bool bReturn = false; @@ -359,15 +354,6 @@ bool FuConstruct3dObject::MouseButtonUp(const MouseEvent& rMEvt) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstruct3dObject::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstruct3dObject::Activate() { mpView->SetCurrentObj(OBJ_NONE); @@ -375,11 +361,6 @@ void FuConstruct3dObject::Activate() FuConstruct::Activate(); } -void FuConstruct3dObject::Deactivate() -{ - FuConstruct::Deactivate(); -} - SdrObject* FuConstruct3dObject::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx index 4ef597f659dd..631040a977d1 100644 --- a/sd/source/ui/func/fuconarc.cxx +++ b/sd/source/ui/func/fuconarc.cxx @@ -127,11 +127,6 @@ bool FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt ) return bReturn; } -bool FuConstructArc::MouseMove( const MouseEvent& rMEvt ) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt ) { bool bReturn = false; @@ -160,15 +155,6 @@ bool FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt ) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstructArc::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstructArc::Activate() { SdrObjKind aObjKind; @@ -212,11 +198,6 @@ void FuConstructArc::Activate() FuConstruct::Activate(); } -void FuConstructArc::Deactivate() -{ - FuConstruct::Deactivate(); -} - SdrObject* FuConstructArc::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) { diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx index bc0cc72a32e1..bc69485e26d4 100644 --- a/sd/source/ui/func/fuconbez.cxx +++ b/sd/source/ui/func/fuconbez.cxx @@ -119,11 +119,6 @@ bool FuConstructBezierPolygon::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -bool FuConstructBezierPolygon::MouseMove(const MouseEvent& rMEvt) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt ) { bool bReturn = false; @@ -202,15 +197,6 @@ bool FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt ) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstructBezierPolygon::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstructBezierPolygon::Activate() { mpView->EnableExtendedMouseEventDispatcher(true); diff --git a/sd/source/ui/func/fuconcs.cxx b/sd/source/ui/func/fuconcs.cxx index 015ab43afb3c..8aba283dfbbe 100644 --- a/sd/source/ui/func/fuconcs.cxx +++ b/sd/source/ui/func/fuconcs.cxx @@ -136,11 +136,6 @@ bool FuConstructCustomShape::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -bool FuConstructCustomShape::MouseMove(const MouseEvent& rMEvt) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstructCustomShape::MouseButtonUp(const MouseEvent& rMEvt) { bool bReturn(false); @@ -161,15 +156,6 @@ bool FuConstructCustomShape::MouseButtonUp(const MouseEvent& rMEvt) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstructCustomShape::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstructCustomShape::Activate() { mpView->SetCurrentObj( OBJ_CUSTOMSHAPE ); diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 0acc56c3cef4..d7fe22933962 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -215,11 +215,6 @@ bool FuConstructRectangle::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -bool FuConstructRectangle::MouseMove(const MouseEvent& rMEvt) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstructRectangle::MouseButtonUp(const MouseEvent& rMEvt) { bool bReturn(false); @@ -266,15 +261,6 @@ bool FuConstructRectangle::MouseButtonUp(const MouseEvent& rMEvt) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstructRectangle::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstructRectangle::Activate() { SdrObjKind aObjKind; diff --git a/sd/source/ui/func/fuconuno.cxx b/sd/source/ui/func/fuconuno.cxx index a9eedc6f00e7..5e772f1ec930 100644 --- a/sd/source/ui/func/fuconuno.cxx +++ b/sd/source/ui/func/fuconuno.cxx @@ -94,11 +94,6 @@ bool FuConstructUnoControl::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -bool FuConstructUnoControl::MouseMove(const MouseEvent& rMEvt) -{ - return FuConstruct::MouseMove(rMEvt); -} - bool FuConstructUnoControl::MouseButtonUp(const MouseEvent& rMEvt) { bool bReturn = false; @@ -117,15 +112,6 @@ bool FuConstructUnoControl::MouseButtonUp(const MouseEvent& rMEvt) return bReturn; } -/** - * Process keyboard input - * @returns sal_True if a KeyEvent is being processed, sal_False otherwise - */ -bool FuConstructUnoControl::KeyInput(const KeyEvent& rKEvt) -{ - return FuConstruct::KeyInput(rKEvt); -} - void FuConstructUnoControl::Activate() { mpView->SetCurrentObj( nIdentifier, nInventor ); diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx index 4488b7bb2eff..926161743aa6 100644 --- a/sd/source/ui/func/fudraw.cxx +++ b/sd/source/ui/func/fudraw.cxx @@ -459,11 +459,6 @@ void FuDraw::Activate() ForcePointer(); } -void FuDraw::Deactivate() -{ - FuPoor::Deactivate(); -} - /** * Toggle mouse-pointer */ diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index c55ddfa783b8..a80fd6cd2c51 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -1156,11 +1156,6 @@ void FuText::DeleteDefaultText() } } -bool FuText::Command(const CommandEvent& rCEvt) -{ - return FuPoor::Command(rCEvt); -} - bool FuText::RequestHelp(const HelpEvent& rHEvt) { bool bReturn = false; diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx index b6f73a360b55..9de60128a54d 100644 --- a/sd/source/ui/inc/AccessibleOutlineView.hxx +++ b/sd/source/ui/inc/AccessibleOutlineView.hxx @@ -89,9 +89,7 @@ public: //===== lang::XEventListener ============================================ - virtual void SAL_CALL - disposing (const css::lang::EventObject& rEventObject) - throw (css::uno::RuntimeException, std::exception) override; + using AccessibleDocumentViewBase::disposing; //===== XPropertyChangeListener ========================================= diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx index 19c5e01a9a81..b69abf4075ab 100644 --- a/sd/source/ui/inc/AccessiblePageShape.hxx +++ b/sd/source/ui/inc/AccessiblePageShape.hxx @@ -61,11 +61,6 @@ public: virtual ~AccessiblePageShape(); - /** Initialize a new shape. See the documentation of the constructor - for the reason of this method's existence. - */ - virtual void Init() override; - //===== XAccessibleContext ============================================== /// Returns always 0 because there can be no children. diff --git a/sd/source/ui/inc/Ruler.hxx b/sd/source/ui/inc/Ruler.hxx index 38d0d7780cfd..e96e64e841f3 100644 --- a/sd/source/ui/inc/Ruler.hxx +++ b/sd/source/ui/inc/Ruler.hxx @@ -56,7 +56,6 @@ protected: virtual void MouseButtonDown(const MouseEvent& rMEvt) override; virtual void MouseButtonUp(const MouseEvent& rMEvt) override; - virtual void MouseMove(const MouseEvent& rMEvt) override; virtual void Command(const CommandEvent& rCEvt) override; virtual void ExtraDown() override; }; diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx index 8a5d2c8337fd..546dbef4acae 100644 --- a/sd/source/ui/inc/ViewShellBase.hxx +++ b/sd/source/ui/inc/ViewShellBase.hxx @@ -160,7 +160,6 @@ public: virtual void WriteUserData (OUString&, bool bBrowse = false) override; virtual void ReadUserData (const OUString&, bool bBrowse = false) override; virtual SdrView* GetDrawView() const override; - virtual void AdjustPosSizePixel (const Point &rOfs, const Size &rSize) override; /** When <TRUE/> is given, then the mouse shape is set to hour glass (or whatever the busy shape looks like on the system.) diff --git a/sd/source/ui/inc/fucon3d.hxx b/sd/source/ui/inc/fucon3d.hxx index 5c7acb0b8f10..b199ae4263cd 100644 --- a/sd/source/ui/inc/fucon3d.hxx +++ b/sd/source/ui/inc/fucon3d.hxx @@ -38,13 +38,10 @@ public: virtual void DoExecute( SfxRequest& rReq ) override; // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; virtual void Activate() override; - virtual void Deactivate() override; virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) override; diff --git a/sd/source/ui/inc/fuconarc.hxx b/sd/source/ui/inc/fuconarc.hxx index aae040205a9c..de3ed819f613 100644 --- a/sd/source/ui/inc/fuconarc.hxx +++ b/sd/source/ui/inc/fuconarc.hxx @@ -33,13 +33,10 @@ public: virtual void DoExecute( SfxRequest& rReq ) override; // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; virtual void Activate() override; - virtual void Deactivate() override; virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle) override; diff --git a/sd/source/ui/inc/fuconbez.hxx b/sd/source/ui/inc/fuconbez.hxx index 55958d06d767..f43069632ae0 100644 --- a/sd/source/ui/inc/fuconbez.hxx +++ b/sd/source/ui/inc/fuconbez.hxx @@ -35,8 +35,6 @@ public: static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq, bool bPermanent ); // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; diff --git a/sd/source/ui/inc/fuconcs.hxx b/sd/source/ui/inc/fuconcs.hxx index 41faf9c79543..c8b058b33515 100644 --- a/sd/source/ui/inc/fuconcs.hxx +++ b/sd/source/ui/inc/fuconcs.hxx @@ -37,8 +37,6 @@ public: virtual void DoExecute( SfxRequest& rReq ) override; // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; diff --git a/sd/source/ui/inc/fuconrec.hxx b/sd/source/ui/inc/fuconrec.hxx index 05026ea1726f..0ab328bb2b0c 100644 --- a/sd/source/ui/inc/fuconrec.hxx +++ b/sd/source/ui/inc/fuconrec.hxx @@ -41,8 +41,6 @@ public: virtual void DoExecute( SfxRequest& rReq ) override; // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; diff --git a/sd/source/ui/inc/fuconuno.hxx b/sd/source/ui/inc/fuconuno.hxx index 142ee5f9e984..76c91a4485c3 100644 --- a/sd/source/ui/inc/fuconuno.hxx +++ b/sd/source/ui/inc/fuconuno.hxx @@ -37,8 +37,6 @@ public: virtual void DoExecute( SfxRequest& rReq ) override; // Mouse- & Key-Events - virtual bool KeyInput(const KeyEvent& rKEvt) override; - virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; diff --git a/sd/source/ui/inc/fudraw.hxx b/sd/source/ui/inc/fudraw.hxx index 630006414eae..084161d2a22e 100644 --- a/sd/source/ui/inc/fudraw.hxx +++ b/sd/source/ui/inc/fudraw.hxx @@ -43,7 +43,6 @@ public: virtual bool RequestHelp(const HelpEvent& rHEvt) override; virtual void Activate() override; - virtual void Deactivate() override; virtual void ForcePointer(const MouseEvent* pMEvt = nullptr); diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx index 49cb439a358f..610628328af8 100644 --- a/sd/source/ui/inc/futext.hxx +++ b/sd/source/ui/inc/futext.hxx @@ -46,7 +46,6 @@ public: virtual bool MouseMove(const MouseEvent& rMEvt) override; virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; - virtual bool Command(const CommandEvent& rCEvt) override; virtual bool RequestHelp(const HelpEvent& rHEvt) override; virtual void ReceiveRequest(SfxRequest& rReq) override; virtual void DoubleClick(const MouseEvent& rMEvt) override; diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx index 67baa4f42d34..8b8f8c313167 100644 --- a/sd/source/ui/slideshow/showwin.cxx +++ b/sd/source/ui/slideshow/showwin.cxx @@ -294,11 +294,6 @@ void ShowWindow::LoseFocus() TerminateShow(); } -void ShowWindow::Resize() -{ - ::sd::Window::Resize(); -} - void ShowWindow::Move() { ::sd::Window::Move(); diff --git a/sd/source/ui/slideshow/showwindow.hxx b/sd/source/ui/slideshow/showwindow.hxx index af2f01637f0d..9e0aa32708c8 100644 --- a/sd/source/ui/slideshow/showwindow.hxx +++ b/sd/source/ui/slideshow/showwindow.hxx @@ -69,7 +69,6 @@ public: void RestartShow( sal_Int32 nPageIndexToRestart ); virtual void Move() override; - virtual void Resize() override; virtual void GetFocus() override; virtual void LoseFocus() override; diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 0dc10f44207c..6ef12537eaa9 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -585,16 +585,6 @@ void SelectionFunction::MoveFocus ( } } -void SelectionFunction::Activate() -{ - FuPoor::Activate(); -} - -void SelectionFunction::Deactivate() -{ - FuPoor::Deactivate(); -} - void SelectionFunction::DoCut() { if ( ! mrSlideSorter.GetProperties()->IsUIReadOnly()) diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx index 935b4a6c2743..ccc8048c260a 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx @@ -50,9 +50,6 @@ public: virtual bool MouseButtonUp(const MouseEvent& rMEvt) override; virtual bool MouseButtonDown(const MouseEvent& rMEvt) override; - virtual void Activate() override; - virtual void Deactivate() override; - /// Forward to the clipboard manager. virtual void DoCut() override; diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index a5cda27ed6c7..668974e5c5c3 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -813,11 +813,6 @@ SdrView* ViewShellBase::GetDrawView() const return SfxViewShell::GetDrawView(); } -void ViewShellBase::AdjustPosSizePixel (const Point &rOfs, const Size &rSize) -{ - SfxViewShell::AdjustPosSizePixel (rOfs, rSize); -} - void ViewShellBase::SetBusyState (bool bBusy) { if (GetDocShell() != nullptr) diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 19efdac3cf02..3ccb4290196a 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -119,11 +119,6 @@ void Ruler::MouseButtonDown(const MouseEvent& rMEvt) SvxRuler::MouseButtonDown(rMEvt); } -void Ruler::MouseMove(const MouseEvent& rMEvt) -{ - SvxRuler::MouseMove(rMEvt); -} - void Ruler::MouseButtonUp(const MouseEvent& rMEvt) { SvxRuler::MouseButtonUp(rMEvt); diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx index 889259f25ff7..2f6c5c9016aa 100644 --- a/sd/source/ui/view/viewoverlaymanager.cxx +++ b/sd/source/ui/view/viewoverlaymanager.cxx @@ -116,9 +116,6 @@ public: protected: virtual void addCustomHandles( SdrHdlList& rHandlerList ) override; - virtual void disposing() override; - virtual void select() override; - virtual void deselect() override; private: SdrObjectWeakRef mxPlaceholderObj; @@ -397,21 +394,6 @@ void ChangePlaceholderTag::addCustomHandles( SdrHdlList& rHandlerList ) } } -void ChangePlaceholderTag::disposing() -{ - SmartTag::disposing(); -} - -void ChangePlaceholderTag::select() -{ - SmartTag::select(); -} - -void ChangePlaceholderTag::deselect() -{ - SmartTag::deselect(); -} - ViewOverlayManager::ViewOverlayManager( ViewShellBase& rViewShellBase ) : mrBase( rViewShellBase ) , mnUpdateTagsEvent( nullptr ) |