sc/source/ui/unoobj/docuno.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 86ea687d3f19c04192ee2b7a82736e110c7be334
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Feb 23 21:27:50 2018 +0530

    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 <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to