svx/source/svdraw/svdview.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 7ca91edcb5e6f2fd744d15cdb67800eb99b19504
Author: mert <[email protected]>
AuthorDate: Mon Mar 1 06:00:11 2021 +0300
Commit: Mert Tumer <[email protected]>
CommitDate: Mon Mar 1 11:28:28 2021 +0100
Fix crash while moving handle when shape text is active
Change-Id: Ie21398917bc204245837215f1eade78e11c61890
Signed-off-by: mert <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111726
Tested-by: Jenkins CollaboraOffice <[email protected]>
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 27b1c67c6551..394b3af6bd06 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1428,6 +1428,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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits