Kaydet (Commit) be95c743 authored tarafından Caolán McNamara's avatar Caolán McNamara

there might be no model

Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf
üst a8b2dc80
...@@ -2259,7 +2259,7 @@ void SdrEdgeObj::NbcResize(const Point& rRefPnt, const Fraction& aXFact, const F ...@@ -2259,7 +2259,7 @@ void SdrEdgeObj::NbcResize(const Point& rRefPnt, const Fraction& aXFact, const F
ResizeXPoly(*pEdgeTrack,rRefPnt,aXFact,aYFact); ResizeXPoly(*pEdgeTrack,rRefPnt,aXFact,aYFact);
// if resize is not from paste, forget user distances // if resize is not from paste, forget user distances
if(!GetModel()->IsPasteResize()) if (!GetModel() || !GetModel()->IsPasteResize())
{ {
aEdgeInfo.aObj1Line2 = Point(); aEdgeInfo.aObj1Line2 = Point();
aEdgeInfo.aObj1Line3 = Point(); aEdgeInfo.aObj1Line3 = Point();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment