summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormert <mert.tumer@collabora.com>2021-03-01 06:00:11 +0300
committerMichael Meeks <michael.meeks@collabora.com>2021-04-09 17:43:55 +0100
commit66f62a5fd562447815cf08c476222c525af779ed (patch)
treef878b7d6fcf6e64419d9734526ef54958023e373
parent0304a3c2b7d1c8686dad117b919a956e6cb76595 (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
-rw-r--r--svx/source/svdraw/svdview.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 8015980c61eb..6b03a716b4af 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1410,6 +1410,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;