Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Can not open the sample ppt file which contain vb controls in the slide master. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Impress | Reporter: | Du Jing <bjdujing> | ||||||
Component: | save-export | Assignee: | WangZhe <kingwisemmx> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Normal | ||||||||
Priority: | P3 | CC: | kingwisemmx, liushenf, louqingle, steve.yin.aoo | ||||||
Version: | 3.4.0 | ||||||||
Target Milestone: | 4.0.0 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
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. |
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