[PATCH libreoffice-3-6] fdo#62965: fix crash in Edit Contour dialog

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


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3940

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/40/3940/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 52e4f11..c01aa9b 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -732,7 +732,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/3940
To unsubscribe, visit https://gerrit.libreoffice.org/settings

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



More information about the LibreOffice mailing list