diff options
author | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-03-12 20:55:23 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-03-13 07:36:26 +0100 |
commit | d21aab7de8766e9575682f7f20f6449dbc9639e2 (patch) | |
tree | 59f69671a0b49fac57a8e762c950555bdc221369 | |
parent | 25552011fc6b9f4d759d1a09051e2eeca1222063 (diff) |
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@cib.de>
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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(); |