You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/02/09 15:48:41 UTC

[Bug 57552] XMLSlideShow.addPicture() finds the incorrect image

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

--- Comment #1 from mark.o <Ma...@gmx.net> ---
Created attachment 32443
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32443&action=edit
demonstration of possible fix for posted bug

The patch has been implemented as a static 'fix-up' to allow easy testing
without touching the original sources.

However, I think that it would make more sense to have the
OPCPackage.getPartsByName() with a comparator, so that the indices are properly
sorted to start with. Then there would only be the need to deal 0-based vs.
1-based.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org