diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-04-08 11:51:52 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-04-08 11:51:52 +0000 |
commit | ce39d4c2fb899be5d8d705fe72e0153fde21e592 (patch) | |
tree | c16721a9a7f5313aaadafb0529370d278067eaa4 /src/java/org/apache/fop/fo/pagination/Root.java | |
parent | e3c9f13598dc3bbcbe1ea34920972910625567c0 (diff) | |
download | xmlgraphics-fop-ce39d4c2fb899be5d8d705fe72e0153fde21e592.tar.gz xmlgraphics-fop-ce39d4c2fb899be5d8d705fe72e0153fde21e592.zip |
FOP #2234: NPE when rendering a document with markers and accessibility is enabled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1465599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Root.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Root.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Root.java b/src/java/org/apache/fop/fo/pagination/Root.java index 6db8d6db1..64a6b039d 100644 --- a/src/java/org/apache/fop/fo/pagination/Root.java +++ b/src/java/org/apache/fop/fo/pagination/Root.java @@ -97,12 +97,12 @@ public class Root extends FObj implements CommonAccessibilityHolder { } /** {@inheritDoc} */ - protected void startOfNode() throws FOPException { + public void startOfNode() throws FOPException { foEventHandler.startRoot(this); } /** {@inheritDoc} */ - protected void endOfNode() throws FOPException { + public void endOfNode() throws FOPException { if (!pageSequenceFound || layoutMasterSet == null) { missingChildElementError("(layout-master-set, declarations?, " + "bookmark-tree?, (page-sequence|fox:external-document)+)"); |