sd/source/ui/animations/motionpathtag.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit ab9ab9d381fe871a56f346a6223a7f572c2a4d90
Author: Mark Hung <mark...@gmail.com>
Date:   Sun Jun 24 21:00:37 2018 +0800

    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 <mark...@gmail.com>

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
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to