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

Oliver Specht oliver.specht at cib.de
Thu Dec 10 22:36:19 PST 2015


 sw/source/uibase/docvw/edtwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit feb59478cd3d0e81b1acbead259f3087c3434bec
Author: Oliver Specht <oliver.specht at cib.de>
Date:   Thu Dec 10 13:54:07 2015 +0100

    tdf#34375: resizing of drawings with shift key fixed
    
    Change-Id: Ibd3b0e76484cf22a8d36f457f4b3c398ed1b85d1
    Reviewed-on: https://gerrit.libreoffice.org/20602
    Reviewed-by: Oliver Specht <oliver.specht at cib.de>
    Tested-by: Oliver Specht <oliver.specht at cib.de>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 8c9b13f..852f525 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -4279,7 +4279,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
     {
         // tdf34555: ortho was always reset before being used in EndSdrDrag
         // Now, it is reset only if not in Crop mode.
-        if (pSdrView->GetDragMode() != SDRDRAG_CROP)
+        if (pSdrView->GetDragMode() != SDRDRAG_CROP && !rMEvt.IsShift())
             pSdrView->SetOrtho(false);
 
         if ( pSdrView->MouseButtonUp( rMEvt,this ) )


More information about the Libreoffice-commits mailing list