Apache OpenOffice (AOO) Bugzilla – Issue 119524
[From Symphony]Can not open the sample ppt file which contain vb controls in the slide master.
Last modified: 2012-10-18 07:21:41 UTC
Created attachment 77734 [details] sample file build:AOO3.4_1327774 STEPS: 1.Open the sample in AOO 2.open the sample in MS Office 2003,switch to master view,will find some controls in second master page defect: AOO will crash
confirmed,change its status
Created attachment 79109 [details] Fix patch for this issue Please help to review the patch. Root Cause: There are several OLE objects in the master pages of the sample file. When importing OLE objects, it will call UNO interface SdXImpressDocument::getMasterPages(). In this function, it calls initializeDocument(). Once there is no page, it will create a page for the document. But in this case, the pages are not created when importing master pages. Resolution: Do NOT call initializeDocument() when loading. Use hasControllersLocked() for the conditional statement.
I'll take this one
Delivered at revision: 1381847 * subversion/main/sd/source/ui/unoidl/unomodel.cxx []Before initializeDocument,should check whether it is in loading process
verified on XP SP3, mac 10.8, Ubuntu 12.04 against build r1384699 verified on RHEL 6.1 64 bit against build 1386464 fixed. Close thid bug
Update Target Milestone to AOO 3.5.0.