[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Wed Aug 26 06:47:38 PDT 2015
svx/source/svdraw/svdoedge.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit be95c7430d2fd9858f41ee8e8882d987a5bbe749
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Aug 26 14:44:32 2015 +0100
there might be no model
Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index 102fa03..d0f2e00 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -2259,7 +2259,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();
More information about the Libreoffice-commits
mailing list