[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - svx/source
mert (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 1 10:29:01 UTC 2021
svx/source/svdraw/svdview.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 7ca91edcb5e6f2fd744d15cdb67800eb99b19504
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: 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 <mert.tumer at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111726
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
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;
More information about the Libreoffice-commits
mailing list