[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sc/source

Pranav Kant pranavk at collabora.co.uk
Fri Feb 23 20:09:44 UTC 2018


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

New commits:
commit 86ea687d3f19c04192ee2b7a82736e110c7be334
Author: Pranav Kant <pranavk at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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);


More information about the Libreoffice-commits mailing list