ignore PAPX if they references non-existing text parts

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143069 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-05 14:12:16 +00:00
parent a9dbb3be09
commit fa46737e44

View File

@ -68,6 +68,9 @@ public class PAPBinTable
for (int y = 0; y < fkpSize; y++)
{
PAPX papx = pfkp.getPAPX(y);
//we don't need PAPX if they are references nowhere
if (tpt.isIndexInTable( papx.getStartBytes() ))
_paragraphs.add(papx);
}
}