svx/source/svdraw/svdoedge.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be95c7430d2fd9858f41ee8e8882d987a5bbe749
Author: Caolán McNamara <caol...@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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to