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/fusel.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/fusel.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 44 |
1 files changed, 4 insertions, 40 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 54fc57cfc8b9..f7db2b9c8a04 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -57,34 +57,16 @@ using namespace com::sun::star; -/************************************************************************* -|* -|* ctor -|* -\************************************************************************/ - FuSelection::FuSelection(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView* pViewP, SdrModel* pDoc, SfxRequest& rReq ) : FuDraw(pViewSh, pWin, pViewP, pDoc, rReq) { } -/************************************************************************* -|* -|* dtor -|* -\************************************************************************/ - FuSelection::~FuSelection() { } -/************************************************************************* -|* -|* MouseButtonDown-event -|* -\************************************************************************/ - bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) { // remember button state for creation of own MouseEvents @@ -314,12 +296,6 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) return bReturn; } -/************************************************************************* -|* -|* MouseMove-event -|* -\************************************************************************/ - bool FuSelection::MouseMove(const MouseEvent& rMEvt) { bool bReturn = FuDraw::MouseMove(rMEvt); @@ -348,12 +324,6 @@ bool FuSelection::MouseMove(const MouseEvent& rMEvt) return bReturn; } -/************************************************************************* -|* -|* MouseButtonUp-event -|* -\************************************************************************/ - bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) { // remember button state for creation of own MouseEvents @@ -383,9 +353,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) { if ( pView->IsDragObj() ) { - /****************************************************************** - * object was moved - ******************************************************************/ + // object was moved if ( rMEvt.IsMod1() ) { if ( pPage ) @@ -413,10 +381,8 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) std::abs(aPnt.X() - aMDPos.X()) < nDrgLog && std::abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) { - /************************************************************* - * If a user wants to click on an object in front of a marked - * one, he releases the mouse button immediately - **************************************************************/ + /* If a user wants to click on an object in front of a marked + one, he releases the mouse button immediately */ SdrPageView* pPV = nullptr; pObj = pView->PickObj(aMDPos, pView->getHitTolLog(), pPV, SdrSearchOptions::ALSOONMASTER | SdrSearchOptions::BEFOREMARK); if (pObj) @@ -462,9 +428,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) } } - /************************************************************************** - * maybe consider OLE object - **************************************************************************/ + // maybe consider OLE object SfxInPlaceClient* pIPClient = pViewShell ? pViewShell->GetIPClient() : nullptr; if (pIPClient) |