tdf#51188: notify that geometry has changed when dragging the connector.

Change-Id: I7b7cb7719c9c735eeb4f964b1ae6ce6819186aed
Reviewed-on: https://gerrit.libreoffice.org/46319
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
This commit is contained in:
Mark Hung
2017-12-12 23:40:57 +08:00
committed by Katarina Behrens
parent ba81ac19b7
commit 98de1ed2e2

View File

@@ -1854,6 +1854,8 @@ bool SdrEdgeObj::applySpecialDrag(SdrDragStat& rDragStat)
const bool bDragA(0 == rDragStat.GetHdl()->GetPointNum());
const Point aPointNow(rDragStat.GetNow());
rDragStat.SetEndDragChangesGeoAndAttributes(true);
if(rDragStat.GetPageView())
{
SdrObjConnection* pDraggedOne(bDragA ? &aCon1 : &aCon2);