Переглянути джерело

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

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

Завантаження…
Відмінити
Зберегти