diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 02ef84946b31..150fbc2b8811 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -2449,11 +2449,17 @@ void SdrEdgeObj::RestGeoData(const SdrObjGeoData& rGeo) aCon1=rEGeo.aCon1; if (aCon1.pObj!=nullptr) aCon1.pObj->AddListener(*this); } + else + aCon1=rEGeo.aCon1; + if (aCon2.pObj!=rEGeo.aCon2.pObj) { if (aCon2.pObj!=nullptr) aCon2.pObj->RemoveListener(*this); aCon2=rEGeo.aCon2; if (aCon2.pObj!=nullptr) aCon2.pObj->AddListener(*this); } + else + aCon2=rEGeo.aCon2; + *pEdgeTrack =*rEGeo.pEdgeTrack; bEdgeTrackDirty=rEGeo.bEdgeTrackDirty; bEdgeTrackUserDefined=rEGeo.bEdgeTrackUserDefined; |