summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2018-06-24 21:00:37 +0800
committerMark Hung <marklh9@gmail.com>2018-06-28 16:43:43 +0200
commitab9ab9d381fe871a56f346a6223a7f572c2a4d90 (patch)
tree89bc3375f64808017330096ad5df49977c6fcf60 /sd
parentbbdb6cb8ed0d77eeb2e413b38f29d2084bd8257b (diff)
tdf#53993 broadcast the change when dragging ends.
Eventually MotionPathTag::Notify() and CustomAnimationPane:: updatePathFromMotionPathTag will be called to update the motion path of the effect. Change-Id: I1cd0756ea24d9b56ad3c44c99ef015c584c74dc7 Reviewed-on: https://gerrit.libreoffice.org/56353 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index ab24218ce38e..2e5bb8cb52de 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -231,9 +231,11 @@ bool PathDragObjOwn::EndSdrDrag(bool /*bCopy*/)
SdrObject* pObj = GetDragObj();
- if(pObj)
+ if(pObj && pObj->applySpecialDrag(DragStat()))
{
- return pObj->applySpecialDrag(DragStat());
+ pObj->SetChanged();
+ pObj->BroadcastObjectChange();
+ return true;
}
else
{