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 /sc/source/ui/drawfunc | |
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 'sc/source/ui/drawfunc')
-rw-r--r-- | sc/source/ui/drawfunc/chartsh.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fupoor.cxx | 33 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/oleobjsh.cxx | 6 |
3 files changed, 0 insertions, 45 deletions
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx index 84a26ce49fd5..07752f6aac77 100644 --- a/sc/source/ui/drawfunc/chartsh.cxx +++ b/sc/source/ui/drawfunc/chartsh.cxx @@ -105,10 +105,4 @@ void ScChartShell::ExecuteExportAsGraphic( SfxRequest& ) Invalidate(); } -void ScChartShell::HandleSelectionChange (void) -{ - // Do not call the implementation in the base class. Let - // Activate()/Deactivate() handle context switches. -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index ea7759e0c3c4..074987b48d3c 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -198,42 +198,11 @@ sal_uInt8 FuPoor::Command(const CommandEvent& rCEvt) return pView->Command(rCEvt,pWindow); } -void FuPoor::DoCut() -{ - if (pView) - { -//! pView->DoCut(pWindow); - } -} - -/************************************************************************* -|* -|* Copy object to clipboard -|* -\************************************************************************/ - -void FuPoor::DoCopy() -{ - if (pView) - { -//! pView->DoCopy(pWindow); - } -} - -void FuPoor::DoPaste() -{ - if (pView) - { -//! pView->DoPaste(pWindow); - } -} - /************************************************************************* |* |* Timer-Handler fuer Drag&Drop |* \************************************************************************/ - IMPL_LINK_NOARG(FuPoor, DragTimerHdl) { // ExecuteDrag (und das damit verbundene Reschedule) direkt aus dem Timer @@ -255,8 +224,6 @@ IMPL_LINK_NOARG(FuPoor, DragHdl) { pWindow->ReleaseMouse(); bIsInDragMode = true; - -// pView->BeginDrag(pWindow, aMDPos); pViewShell->GetScDrawView()->BeginDrag(pWindow, aMDPos); } return 0; diff --git a/sc/source/ui/drawfunc/oleobjsh.cxx b/sc/source/ui/drawfunc/oleobjsh.cxx index 5fc452e15b63..779129964a95 100644 --- a/sc/source/ui/drawfunc/oleobjsh.cxx +++ b/sc/source/ui/drawfunc/oleobjsh.cxx @@ -64,10 +64,4 @@ ScOleObjectShell::~ScOleObjectShell() { } -void ScOleObjectShell::HandleSelectionChange (void) -{ - // Do not call the implementation in the base class. Let - // Activate()/Deactivate() handle context switches. -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |