diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-23 08:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-27 11:48:46 +0200 |
commit | 1534025a0386584a7b8f3f929b10ce5eb33257cf (patch) | |
tree | 7f12dd6763148089cd4fb5495c8fffe84f415e12 /sw/source/uibase/ribbar/dselect.cxx | |
parent | 0f2e01677cd0e8857faec99c61d71e88eee78b27 (diff) |
loplugin:methodcycles more graph theory for the win
implemeent a reduction approach, which is good at finding virtual
methods that only themselves or their virtual partners.
The accessibility GetVisArea stuff is dead since
commit 891e41fac81fbd8d5cdb277b26639abfd25a7143
Date: Wed Apr 4 11:23:22 2018 +0200
dead code in AccessibleTextHelper_Impl::UpdateVisibleChildren
Change-Id: I78d9d8bca585ecec8394f2c3fe2baa93db0e58f5
Reviewed-on: https://gerrit.libreoffice.org/60912
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/ribbar/dselect.cxx')
-rw-r--r-- | sw/source/uibase/ribbar/dselect.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sw/source/uibase/ribbar/dselect.cxx b/sw/source/uibase/ribbar/dselect.cxx index 9dd3b1a0c2bc..c0403c05889d 100644 --- a/sw/source/uibase/ribbar/dselect.cxx +++ b/sw/source/uibase/ribbar/dselect.cxx @@ -31,35 +31,6 @@ DrawSelection::DrawSelection(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* m_bCreateObj = false; } -// Process keyboard events - -// If a KeyEvent is processed then the return value is true, otherwise -// false. - -bool DrawSelection::KeyInput(const KeyEvent& rKEvt) -{ - bool bReturn = false; - - switch (rKEvt.GetKeyCode().GetCode()) - { - case KEY_ESCAPE: - { - if (m_pWin->IsDrawAction()) - { - m_pSh->BreakMark(); - m_pWin->ReleaseMouse(); - } - bReturn = true; - } - break; - } - - if (!bReturn) - bReturn = SwDrawBase::KeyInput(rKEvt); - - return bReturn; -} - void DrawSelection::Activate(const sal_uInt16 nSlotId) { m_pWin->SetSdrDrawMode(OBJ_NONE); |