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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 1 07:40:56 UTC 2019


 sw/source/uibase/docvw/edtwin.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 31ba2a6bdecb81545d9b871a1a9394e5d7a3f2c4
Author:     Martin van Zijl <martin.vanzijl at gmail.com>
AuthorDate: Wed Dec 12 13:03:58 2018 +1300
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Feb 1 08:40:24 2019 +0100

    tdf#41202 allow decrease selection with shift-click in writer
    
    Change-Id: Ic9522af1d3f41188f6feb31e68737fba83b3c6d4
    Reviewed-on: https://gerrit.libreoffice.org/64995
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 201d2b2348d8..c7910ec86c31 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -3625,11 +3625,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
                 if( !bOverSelect )
                     bOverURLGrf = bOverSelect = nullptr != rSh.IsURLGrfAtPos( aDocPos );
 
-                if ( !bOverSelect )
-                {
-                    MoveCursor( rSh, aDocPos, bOnlyText, bLockView );
-                    bCallBase = false;
-                }
+                MoveCursor( rSh, aDocPos, bOnlyText, bLockView );
+                bCallBase = false;
+
                 if (!bOverURLGrf && !bExecDrawTextLink && !bOnlyText)
                 {
                     const SelectionType nSelType = rSh.GetSelectionType();


More information about the Libreoffice-commits mailing list