[Libreoffice-commits] core.git: sc/source

Henry Castro hcastro at collabora.com
Thu Jun 4 17:58:14 PDT 2015


 sc/source/ui/unoobj/docuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb8c323d94bf13d4a373f88c6b932a97701c283b
Author: Henry Castro <hcastro at collabora.com>
Date:   Thu Jun 4 20:44:45 2015 -0400

    sc tiled editing: EndTracking trigger MouseUp
    
    It does not need to trigger fake MouseUp event
    
    Change-Id: Id90c7787ef3312abe81bce359648aee0dfccd905

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index a47b7e0..87d9671 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -591,7 +591,7 @@ void ScModelObj::postMouseEvent(int nType, int nX, int nY, int nCount)
         // sometimes MouseButtonDown captures mouse and starts tracking, and VCL
         // will not take care of releasing that with tiled rendering
         if (pGridWindow->IsTracking())
-            pGridWindow->EndTracking();
+            pGridWindow->EndTracking(TrackingEventFlags::DontCallHdl);
 
         break;
     default:


More information about the Libreoffice-commits mailing list