diff options
author | mert <mert.tumer@collabora.com> | 2021-03-01 06:00:11 +0300 |
---|---|---|
committer | Mert Tumer <mert.tumer@collabora.com> | 2021-03-04 04:35:55 +0100 |
commit | c10955a4617c3ce3c329083109ac7c7be514da8f (patch) | |
tree | 2307fdebc902b8822dfa66aa80f0f836687ebece /svx/source/svdraw | |
parent | 94958cc478d9f97b33bc0da654b7bd19c3c99eea (diff) |
Fix crash while moving handle when shape text is active
Change-Id: Ie21398917bc204245837215f1eade78e11c61890
Signed-off-by: mert <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111726
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111740
Tested-by: Jenkins
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svdview.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 6e26091a8e43..f2d36bbf5f4e 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1409,6 +1409,9 @@ bool SdrView::BegMark(const Point& rPnt, bool bAddMark, bool bUnmark) bool SdrView::MoveShapeHandle(const sal_uInt32 handleNum, const Point& aEndPoint) { + if (GetHdlList().IsMoveOutside()) + return false; + if (!GetMarkedObjectList().GetMarkCount()) return false; |