mirror of https://github.com/apache/poi.git
#58516 - Rare new aioobe in 3.13 on initialization of a handful of ppts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711380 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0da28d066b
commit
9a6c48cfb2
|
@ -1257,6 +1257,7 @@ public final class HSLFTextParagraph implements TextParagraph<HSLFShape,HSLFText
|
|||
int paraIdx = 0;
|
||||
for (IndentProp p : paraStyles) {
|
||||
for (int ccPara = 0, ccStyle = p.getCharactersCovered(); ccPara < ccStyle; paraIdx++) {
|
||||
if (paraIdx >= paragraphs.size() || ccPara >= ccStyle-1) return;
|
||||
HSLFTextParagraph para = paragraphs.get(paraIdx);
|
||||
int len = 0;
|
||||
for (HSLFTextRun trun : para.getTextRuns()) {
|
||||
|
|
Loading…
Reference in New Issue