Bug 55745: fix handling of tables in XSSF if there are comments as well, there is not much sense in leaving the loop on the first instance of comment table and skipping all the other tables.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1546385 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2013-11-28 15:15:59 +00:00
parent 2a5758e35d
commit 6618473e64
2 changed files with 0 additions and 1 deletions

View File

@ -147,7 +147,6 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet {
for(POIXMLDocumentPart p : getRelations()){
if(p instanceof CommentsTable) {
sheetComments = (CommentsTable)p;
break;
}
if(p instanceof XSSFTable) {
tables.put( p.getPackageRelationship().getId(), (XSSFTable)p );

Binary file not shown.