svx/source/svdraw/svdoedge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3d566f50805df54f5cadda8daf1cb78d13d2abdd Author: Caolán McNamara <caol...@redhat.com> Date: Wed Aug 26 14:44:32 2015 +0100 there might be no model Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf (cherry picked from commit be95c7430d2fd9858f41ee8e8882d987a5bbe749) Reviewed-on: https://gerrit.libreoffice.org/18027 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index d212290..b902010 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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits