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

mert (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 4 03:36:42 UTC 2021


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

New commits:
commit c10955a4617c3ce3c329083109ac7c7be514da8f
Author:     mert <mert.tumer at collabora.com>
AuthorDate: Mon Mar 1 06:00:11 2021 +0300
Commit:     Mert Tumer <mert.tumer at 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.tumer at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111726
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at 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;
 


More information about the Libreoffice-commits mailing list