incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119524] [From Symphony]Can not open the sample ppt file which contain vb controls in the slide master.
Date Fri, 24 Aug 2012 02:46:22 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119524

--- Comment #2 from Steve Yin <steve.yin.aoo@gmail.com> ---
Created attachment 79109
  --> https://issues.apache.org/ooo/attachment.cgi?id=79109&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message