Apache OpenOffice (AOO) Bugzilla – Issue 36406
Crash during Slideshow of the attached MS-Office-Presentation
Last modified: 2004-11-25 16:28:14 UTC
- Load the presentation into impress - start slideshow - try to reach the second slide ==> crash mci -> wg: Hi wg, please check and assign this issue to the appropriate developer, thanks
Created attachment 18785 [details] the MS-Office Presentation
I forgot to mention: I use SuSE Linux 9.1...
Crashing on windows ,too. Reassigned to Christian. Please excuse me if there is already an issue for this problem but I cannot ask cgu since he is on vacation.
Sven, there is a CustomShape without a model?
SJ->AW: Can you please take over this issue. The group object is used without getting a model after cloning. This can happen also with other objects than custom shapes. dl680mi.dll!SdrObjList::NbcInsertObject(SdrObject * pObj=0x0d4f4308, unsigned long nPos=0x00000001, const SdrInsertReason * pReason=0x00e5dfd0) Line 399 + 0xe C++ dl680mi.dll!SdrObjList::CopyObjects(const SdrObjList & rSrcList={...}) Line 208 C++ dl680mi.dll!SdrObjGroup::operator=(const SdrObject & rObj={...}) Line 890 C++ dl680mi.dll!SdrObject::Clone() Line 2681 C++ sd680mi.dll!sd::FuSlideShow::PaintDimmedObject(SdrAttrObj *
AW. In SdrObjGroup::operator=, which is used from Clone() operator, the local SubList pSub needs to be initialized at least with the model: // #i36404# // copy SubList, init model and page first SdrObjList& rSourceSubList = *rObj.GetSubList(); pSub->SetPage(rSourceSubList.GetPage()); pSub->SetModel(rSourceSubList.GetModel()); pSub->CopyObjects(*rObj.GetSubList()); Will add this as soon as CWS aw020 is resynched.
AW: Okay, that's it. ADded to the code after resync, works. Checking in.
AW->WG: Please verify.
.
Fixed.
Verified in CWS.
WG: tested in master m63. Closed.