[PATCH libreoffice-4-0] fdo#62965: fix crash in Edit Contour dialog

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Fri May 17 05:32:47 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3936

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/36/3936/1

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
(cherry picked from commit 71f990d286c603b3bf220c8d93af69f04a45dd7a)
---
M svx/source/svdraw/svdundo.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index c4e3c29..93cf3fc 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -747,7 +747,7 @@
         nOrdNum=pObj->GetOrdNum();
     }
 
-    m_pListener = new ObjListListener(*this, *pObj, *pObjList->GetModel());
+    m_pListener = new ObjListListener(*this, *pObj, *pObj->GetModel());
 }
 
 SdrUndoObjList::~SdrUndoObjList()

-- 
To view, visit https://gerrit.libreoffice.org/3936
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib20e1806518f7b3b33d3fb4472d79d531ea9f1de
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list