[Libreoffice-commits] core.git: sd/source
Mark Hung
marklh9 at gmail.com
Thu Jun 28 14:44:07 UTC 2018
sd/source/ui/animations/motionpathtag.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit ab9ab9d381fe871a56f346a6223a7f572c2a4d90
Author: Mark Hung <marklh9 at 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 <marklh9 at 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
{
More information about the Libreoffice-commits
mailing list