Преглед изворни кода

Restored part that would otherwise cause a StackOverflowError...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067565 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Andreas L. Delmelle пре 13 година
родитељ
комит
8dd910c9ac
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3
    1
      src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java

+ 3
- 1
src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java Прегледај датотеку

@@ -268,7 +268,9 @@ public class BlockLayoutManager extends BlockStackingLayoutManager
innerPosition = pos.getPosition();
}

if (innerPosition != null) {
if (innerPosition != null
&& (innerPosition.getLM() != this
|| innerPosition instanceof MappingPosition)) {
// innerPosition was created by another LM
positionList.add(innerPosition);
lastLM = innerPosition.getLM();

Loading…
Откажи
Сачувај