Comment 40 for bug 949997

Revision history for this message
In , Michael Meeks (michael-meeks) wrote :

Looks like the SdrUndoInsertObj is the problem, impress creates a derived class
SdrUndoNewObj : public SdrUndoInsertObj from CreateUndoNewObject:

#0 SdrUndoFactory::CreateUndoNewObject (this=0x95c4c08, rObject=..., bOrdNumDirect=false)
    at /ssd/opt/libreoffice/master/svx/source/svdraw/svdundo.cxx:1703
#1 0xaef76cae in SdPage::CreatePresObj (this=0x9630a98, eObjKind=PRESOBJ_TITLE, bVertical=0 '\000', rRect=...)
    at /ssd/opt/libreoffice/master/sd/source/core/sdpage.cxx:545
#2 0xaef77e29 in SdPage::InsertAutoLayoutShape (this=0x9630a98, pObj=0x0, eObjKind=PRESOBJ_TITLE, bVertical=false, aRect=..., bInit=true)
    at /ssd/opt/libreoffice/master/sd/source/core/sdpage.cxx:2192
#3 0xaf13b12d in sd::DrawView::DeleteMarked (this=0x96f8118) at /ssd/opt/libreoffice/master/sd/source/ui/view/drawview.cxx:626
#4 0xaf03876a in sd::FuDraw::KeyInput (this=0x9d15a58, rKEvt=...) at /ssd/opt/libreoffice/master/sd/source/ui/func/fudraw.cxx:443

I assume the lifecycle gets woolly there.