Quellcode durchsuchen

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 vor 13 Jahren
Ursprung
Commit
8dd910c9ac
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3
    1
      src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java

+ 3
- 1
src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java Datei anzeigen

@@ -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();

Laden…
Abbrechen
Speichern