https://issues.apache.org/bugzilla/show_bug.cgi?id=54916

--- Comment #5 from vladk <[email protected]> ---
I am observing a related issue when loading one specific PPTX file, that I may
not post here, unfortunately.

Some slideMasters cannot be retrieved via XmlSlideShow.getSlideMasters(). The
problem is in org.apache.poi.xslf.usermodel.XMLSlideShow.onDocumentRead() where
the _masters instance variable is being populated.

In my case a possible fix would be to replace:

_masters.put(p.getPackageRelationship().getId(), master);

by

_masters.put(getRelationId(p), master);

This change should fix the problem for slideMasters only.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to