Kaydet (Commit) 7bbc2a5a authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

there might be no model

Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf
(cherry picked from commit be95c743)
Reviewed-on: https://gerrit.libreoffice.org/18025Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst a0d17728
......@@ -2264,7 +2264,7 @@ void SdrEdgeObj::NbcResize(const Point& rRefPnt, const Fraction& aXFact, const F
ResizeXPoly(*pEdgeTrack,rRefPnt,aXFact,aYFact);
// if resize is not from paste, forget user distances
if(!GetModel()->IsPasteResize())
if (!GetModel() || !GetModel()->IsPasteResize())
{
aEdgeInfo.aObj1Line2 = 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