diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-05-17 13:23:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-05-17 14:21:03 +0200 |
commit | 71f990d286c603b3bf220c8d93af69f04a45dd7a (patch) | |
tree | 37029af37798991a12277956101cf013ff765298 /svx/source/svdraw | |
parent | cd9d1bdf5e3351c929d5b651c009ee17b4d962c4 (diff) |
fdo#62965: fix crash in Edit Contour dialog
The pObjList is 0, so use pObj's GetModel() which should be the same.
(regression from 115054fef08998c56cba8f14472df1d15007f635)
Change-Id: Ib20e1806518f7b3b33d3fb4472d79d531ea9f1de
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 3bcace5e07b2..5026435e7d94 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -738,7 +738,7 @@ SdrUndoObjList::SdrUndoObjList(SdrObject& rNewObj, bool bOrdNumDirect) nOrdNum=pObj->GetOrdNum(); } - m_pListener = new ObjListListener(*this, *pObj, *pObjList->GetModel()); + m_pListener = new ObjListListener(*this, *pObj, *pObj->GetModel()); } SdrUndoObjList::~SdrUndoObjList() |