Apache OpenOffice (AOO) Bugzilla – Issue 118876
[From Symphony] Create summary slide in .odp file which has expanded blank slides in,there is a crash.
Last modified: 2012-06-25 05:27:17 UTC
Created attachment 77188 [details] Samples 1.Open the sample file. PS: The sample file is created by following steps - a. New a SD file, create a new page, input text of 3 paragraphes into outline text box. b. Switch to Outline View, delete the characters in each line. c. Turn back to Normal view, Insert -> Expand Slide. d. Save it as .odp file. 2. Select slide 2, Insert -> Summary Slide. Defect: There is a crash.
Reassign to zhangjf and accept the defect.
The root cause of the problem is when creating summary page for mutliple pages, if one of the pages contains empty title. It will cause null pointer exception. The solution is to add check if the OutlinerParaObject is created successfully. if yes, add the text into summary page, if no, ignore the page. It means when creating summary page for multiple pages, if one page contains empty title, the page will not be added into summary page.
Created attachment 77214 [details] patch for fix in file fusumry.cxx fix delivered in r1243381, and also attach the patch file.
Change to resolved state.
Verified on AOO3.4, Rev 1327774.
confirm fixing the bug on ver 1351249 in Win7 ,pass