summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-12-10 13:54:07 +0100
committerOliver Specht <oliver.specht@cib.de>2015-12-11 06:35:53 +0000
commitfeb59478cd3d0e81b1acbead259f3087c3434bec (patch)
treeb37975aaa5fb37f3743b95cee1494b158a4c3f5a /sw/source
parentf2070db3f2ad7e0c4b7d7233b5999bcf869226b5 (diff)
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@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 8c9b13f2194a..852f52575f61 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 ) )