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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Mar 13 06:36:52 UTC 2019


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

New commits:
commit d21aab7de8766e9575682f7f20f6449dbc9639e2
Author:     Xisco FaulĂ­ <xiscofauli at libreoffice.org>
AuthorDate: Tue Mar 12 20:55:23 2019 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Mar 13 07:36:26 2019 +0100

    Revert "tdf#41202 allow decrease selection with shift-click in writer"
    
    Reverted as suggested in https://bugs.documentfoundation.org/show_bug.cgi?id=123582#c4
    
    This reverts commit 31ba2a6bdecb81545d9b871a1a9394e5d7a3f2c4.
    
    Change-Id: I574bacd227bdd6b0364251b060327a3e5f820965
    Reviewed-on: https://gerrit.libreoffice.org/69132
    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 6ee65c5fdd7d..846ffa63ad32 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -3656,9 +3656,11 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
                 if( !bOverSelect )
                     bOverURLGrf = bOverSelect = nullptr != rSh.IsURLGrfAtPos( aDocPos );
 
-                MoveCursor( rSh, aDocPos, bOnlyText, bLockView );
-                bCallBase = false;
-
+                if ( !bOverSelect )
+                {
+                    MoveCursor( rSh, aDocPos, bOnlyText, bLockView );
+                    bCallBase = false;
+                }
                 if (!bOverURLGrf && !bExecDrawTextLink && !bOnlyText)
                 {
                     const SelectionType nSelType = rSh.GetSelectionType();


More information about the Libreoffice-commits mailing list