diff options
Diffstat (limited to 'sd/source/ui/func/fusel.cxx')
-rw-r--r-- | sd/source/ui/func/fusel.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index 992edf1cc63d..f8d20b8b9a37 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -87,7 +87,6 @@ FuSelection::FuSelection ( : FuDraw(pViewSh, pWin, pView, pDoc, rReq), bTempRotation(false), bSelectionChanged(false), - bHideAndAnimate(false), pHdl(nullptr), bSuppressChangesOfSelection(false), bMirrorSide0(false), @@ -129,9 +128,6 @@ FuSelection::~FuSelection() bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) { - // Hack for #?????# - bHideAndAnimate = false; - pHdl = nullptr; bool bReturn = FuDraw::MouseButtonDown(rMEvt); bool bWaterCan = SD_MOD()->GetWaterCan(); @@ -628,15 +624,6 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) // menu. const bool bSelectionOnly = rMEvt.IsRight(); - if (bHideAndAnimate) - { - // Animation is still running -> return immediately - bHideAndAnimate = false; - pHdl = nullptr; - mpWindow->ReleaseMouse(); - return true; - } - if (aDragTimer.IsActive() ) { aDragTimer.Stop(); |