summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-02-23 21:27:50 +0530
committerPranav Kant <pranavk@collabora.co.uk>2018-02-27 19:43:45 +0530
commit33acd925613117d98f8e2b1752fbd949860c792e (patch)
tree04d0622640f9b86e0fef60f23993a51c17921bec /sc
parentf48c0d09990e9fa59d1d5f2d1d6e013feedb92d3 (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.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index b427331fbbd7..46a2ac32eb76 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -678,12 +678,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);