diff options
author | Mark Hung <marklh9@gmail.com> | 2018-06-24 21:00:37 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2018-06-28 16:43:43 +0200 |
commit | ab9ab9d381fe871a56f346a6223a7f572c2a4d90 (patch) | |
tree | 89bc3375f64808017330096ad5df49977c6fcf60 /sd | |
parent | bbdb6cb8ed0d77eeb2e413b38f29d2084bd8257b (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.cxx | 6 |
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 { |