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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 7 16:11:24 UTC 2021


 sc/source/ui/view/gridwin.cxx |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

New commits:
commit 51dc26375e00e380eea5f8c53f35f21dbf8f8166
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Thu Jun 24 07:48:19 2021 -0400
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Oct 7 18:10:49 2021 +0200

    lok: sc: handle all local mouse tracking for Calc
    
    Change-Id: I11f3477c0f966d403e076fc73b7e5507ad6597f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118877
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 125a5fc48a69..995c3009b28c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2721,16 +2721,13 @@ void ScGridWindow::Tracking( const TrackingEvent& rTEvt )
     }
     else if ( rTEvt.IsTrackingEnded() )
     {
-        if ( !comphelper::LibreOfficeKit::isActive() )
-        {
-            // MouseButtonUp always with matching buttons (eg for test tool, # 63148 #)
-            // The tracking event will indicate if it was completed and not canceled.
-            MouseEvent aUpEvt( rMEvt.GetPosPixel(), rMEvt.GetClicks(),
-                                rMEvt.GetMode(), nButtonDown, rMEvt.GetModifier() );
-            MouseButtonUp( aUpEvt );
-        }
+        // MouseButtonUp always with matching buttons (eg for test tool, # 63148 #)
+        // The tracking event will indicate if it was completed and not canceled.
+        MouseEvent aUpEvt( rMEvt.GetPosPixel(), rMEvt.GetClicks(),
+                            rMEvt.GetMode(), nButtonDown, rMEvt.GetModifier() );
+        MouseButtonUp( aUpEvt );
     }
-    else if ( !comphelper::LibreOfficeKit::isActive() )
+    else
         MouseMove( rMEvt );
 }
 


More information about the Libreoffice-commits mailing list