Apache OpenOffice (AOO) Bugzilla – Issue 46907
Showstopper: Crash when closing impress after deleting slides
Last modified: 2005-04-20 08:39:52 UTC
Open a new impress, go to slide sorter view. Insert a second slide, select all, delete, close the impress: Office crashes. This was ok in m88, broken in m89.
Accepted.
In SlideSorterController::DeleteSelectedPages() the guard against deleting the last page in a document was wrong. It looked at the page count in SlideSorterModel. This, however, was updated only at the end of the method. As a result undo actions were generated for the last slide and its note page. The pages themselves were not deleted in this method but when the application was closed the undo action and with them the pages where destroyed. They were still a member of the document and the attempt to officially delete them from the destructor of the document lead to the crash. Fixed the guard again (see issue 45282). Hopefully the last time.
Back to QA for verification. re-open issue and reassign to wg@openoffice.org
reassign to wg@openoffice.org
reset resolution to FIXED
Verified in CWS.
Tested in master m95. CLosed.