svx/source/svdraw/svdview.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c10955a4617c3ce3c329083109ac7c7be514da8f
Author:     mert <mert.tu...@collabora.com>
AuthorDate: Mon Mar 1 06:00:11 2021 +0300
Commit:     Mert Tumer <mert.tu...@collabora.com>
CommitDate: Thu Mar 4 04:35:55 2021 +0100

    Fix crash while moving handle when shape text is active
    
    Change-Id: Ie21398917bc204245837215f1eade78e11c61890
    Signed-off-by: mert <mert.tu...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111726
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111740
    Tested-by: Jenkins

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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to