diff options
author | Thomas Beck <thomas.beck@cib.de> | 2017-05-18 12:54:31 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-05-19 12:46:22 +0200 |
commit | 575b457d728531a1cfff95d2eea1887e09d79009 (patch) | |
tree | 696367fb01061f568c0d5cc7585d6f5bb7b5ef59 /sc/source/ui/drawfunc/fudraw.cxx | |
parent | 31a698342f86db1b7703e3ec5460281d3a6b7635 (diff) |
Removed unneccessary ASCII-Art and comments
Change-Id: I455d7aa7c6e6313a0d24137e02b7bf04ede9aae9
Reviewed-on: https://gerrit.libreoffice.org/37752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sc/source/ui/drawfunc/fudraw.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fudraw.cxx | 54 |
1 files changed, 3 insertions, 51 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index ef4f06d41784..ce68e1f9cb67 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -41,12 +41,7 @@ #include "globstr.hrc" #include "drawview.hxx" -/************************************************************************* -|* -|* base class for draw module specific functions -|* -\************************************************************************/ - +// base class for draw module specific functions FuDraw::FuDraw(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* pViewP, SdrModel* pDoc, SfxRequest& rReq) : FuPoor (pViewSh, pWin, pViewP, pDoc, rReq), @@ -55,22 +50,10 @@ FuDraw::FuDraw(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* pViewP, { } -/************************************************************************* -|* -|* destructor -|* -\************************************************************************/ - FuDraw::~FuDraw() { } -/************************************************************************* -|* -|* evaluate modifier keys -|* -\************************************************************************/ - void FuDraw::DoModifiers(const MouseEvent& rMEvt) { // Shift = Ortho and AngleSnap @@ -128,12 +111,6 @@ void FuDraw::ResetModifiers() pView->SetResizeAtCenter(false); } -/************************************************************************* -|* -|* MouseButtonDown-event -|* -\************************************************************************/ - bool FuDraw::MouseButtonDown(const MouseEvent& rMEvt) { // remember button state for creation of own MouseEvents @@ -143,12 +120,6 @@ bool FuDraw::MouseButtonDown(const MouseEvent& rMEvt) return false; } -/************************************************************************* -|* -|* MouseMove-event -|* -\************************************************************************/ - bool FuDraw::MouseMove(const MouseEvent& rMEvt) { // evaluate modifiers only if in a drawing layer action @@ -159,12 +130,6 @@ bool FuDraw::MouseMove(const MouseEvent& rMEvt) return false; } -/************************************************************************* -|* -|* MouseButtonUp-event -|* -\************************************************************************/ - bool FuDraw::MouseButtonUp(const MouseEvent& rMEvt) { // remember button state for creation of own MouseEvents @@ -174,15 +139,7 @@ bool FuDraw::MouseButtonUp(const MouseEvent& rMEvt) return false; } -/************************************************************************* -|* -|* process keyboard events -|* -|* if a keyevent is processed -> returns sal_True -|* -> else FALSE -|* -\************************************************************************/ - +// Process Keyboard events. Return true if an event is being handled static bool lcl_KeyEditMode( SdrObject* pObj, ScTabViewShell* pViewShell, const KeyEvent* pInitialKey ) { bool bReturn = false; @@ -664,12 +621,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt) return bReturn; } -/************************************************************************* -|* -|* toggle mouse-pointer -|* -\************************************************************************/ - +// toggle mouse-pointer static bool lcl_UrlHit( SdrView* pView, const Point& rPosPixel, vcl::Window* pWindow ) { SdrViewEvent aVEvt; |