diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2018-02-23 21:27:50 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-02-23 21:09:18 +0100 |
commit | 86ea687d3f19c04192ee2b7a82736e110c7be334 (patch) | |
tree | 08c66e10d9f915c34b0658c00325017ed5b5ad8c /sc | |
parent | 7e8d9f156fc6650c49c3312f6f7a7a57abf1f285 (diff) |
lok sc: This is not needed now
I guess since these events are routed through vcl now.
Change-Id: Ib2a44c82d76a25ac5a3341c060a665c62e3d60a7
Reviewed-on: https://gerrit.libreoffice.org/50254
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index ae635323574e..7a1af69926f3 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -688,12 +688,6 @@ void ScModelObj::postMouseEvent(int nType, int nX, int nY, int nCount, int nButt break; case LOK_MOUSEEVENT_MOUSEBUTTONUP: Application::PostMouseEvent(VCLEVENT_WINDOW_MOUSEBUTTONUP, pGridWindow, &aEvent); - - // sometimes MouseButtonDown captures mouse and starts tracking, and VCL - // will not take care of releasing that with tiled rendering - if (pGridWindow->IsTracking()) - pGridWindow->EndTracking(TrackingEventFlags::DontCallHdl); - break; case LOK_MOUSEEVENT_MOUSEMOVE: Application::PostMouseEvent(VCLEVENT_WINDOW_MOUSEMOVE, pGridWindow, &aEvent); |