[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - svx/source

Michael Stahl mstahl at redhat.com
Fri May 17 07:29:56 PDT 2013


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

New commits:
commit 9fbc213ac882540b4d267d11d29eda68df297f16
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri May 17 13:23:34 2013 +0200

    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)
    Reviewed-on: https://gerrit.libreoffice.org/3936
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

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 @@ 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()


More information about the Libreoffice-commits mailing list