diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-03-15 09:28:49 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-03-15 09:28:49 +0000 |
commit | 7c906c3babdad29fc57a90e1680a8e10e2336c85 (patch) | |
tree | a52ceaa18af31f0cfcdd9aa9f446cf4d5a7e0d0f /src/java/org/apache/fop | |
parent | 9ed45d05e78bb5720db46d0bbfa2cf03dc427392 (diff) | |
download | xmlgraphics-fop-7c906c3babdad29fc57a90e1680a8e10e2336c85.tar.gz xmlgraphics-fop-7c906c3babdad29fc57a90e1680a8e10e2336c85.zip |
Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386015 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java index c8ba02f92..b94b2623c 100644 --- a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java @@ -242,6 +242,7 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager { // element represents a line with footnote citations bFootnotesPresent = true; LayoutContext footnoteContext = new LayoutContext(context); + footnoteContext.setStackLimit(context.getStackLimit()); footnoteContext.setRefIPD(getCurrentPV() .getRegionReference(Constants.FO_REGION_BODY).getIPD()); LinkedList footnoteBodyLMs = ((KnuthBlockBox) element).getFootnoteBodyLMs(); |