Apache OpenOffice (AOO) Bugzilla – Issue 38293
Impress crashes when applying 5 layouts
Last modified: 2005-01-14 13:21:33 UTC
Open a new impress and apply 5 layouts after another. Always hit yes when the dialog box comes up. At the fifth the office crashes.
At the first glance the stack of this crash looks similar to the one of issue 38297.
There is an unguarded access to the SdrOle2Obj::xObjRef member in SdrOle2Obj::operator=() . Adding a test for the existence of the referenced object fixes the crash. Have to wait for a CWS to be created in order to check in the fix.
In svx method SdrOle2Obj::operator=() the code that copies the persist object was not guarded against an empty xObjRef. Not only the copying is unnecessary in such a case. Referencing the empty xObjRef is not healthy either.
Reopening...
...reassigning...
...resolving.
Verified in CWS.
Tested in master m65. CLosed.
*** Issue 38740 has been marked as a duplicate of this issue. ***