diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-26 14:44:32 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-31 15:11:41 +0200 |
commit | 7bbc2a5a85dfdd97b1b5ae741d3d3cc2477d0fa0 (patch) | |
tree | 2265fc86a33427cf07c08aac94c2bbdc59a7c1c3 /svx | |
parent | a0d177286d5d6955c3dc88c083d363e31af0edfc (diff) |
there might be no model
Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf
(cherry picked from commit be95c7430d2fd9858f41ee8e8882d987a5bbe749)
Reviewed-on: https://gerrit.libreoffice.org/18025
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index ed8c82003ca0..4832e0ad012c 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -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(); |