瀏覽代碼

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…
取消
儲存