aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf/RTFHandler.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-09-05 04:00:52 +0000
committerGlen Mazza <gmazza@apache.org>2004-09-05 04:00:52 +0000
commitefb1d8b52a886e9fe36f82abcb0064a89b2e022f (patch)
treeedc05717405d4227252323e2cdf80b89fc94dc84 /src/java/org/apache/fop/render/rtf/RTFHandler.java
parentfe2d99426ed26953441a63e27aa87935e0877d6d (diff)
downloadxmlgraphics-fop-efb1d8b52a886e9fe36f82abcb0064a89b2e022f.tar.gz
xmlgraphics-fop-efb1d8b52a886e9fe36f82abcb0064a89b2e022f.zip
PR:
Obtained from: Submitted by: Reviewed by: 1.) AddChildNode(), characters() modified to throw SAXParseException to allow AddChildNode() to do validation of its own. 2.) Better child validation added to PageSequence.java. 3.) Various other code cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/RTFHandler.java')
-rw-r--r--src/java/org/apache/fop/render/rtf/RTFHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java
index fe8a26b9a..8ac6f46b9 100644
--- a/src/java/org/apache/fop/render/rtf/RTFHandler.java
+++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java
@@ -178,7 +178,7 @@ public class RTFHandler extends FOInputHandler {
String reference = prop.getString();
SimplePageMaster pagemaster
- = pageSeq.getLayoutMasterSet().getSimplePageMaster(reference);
+ = pageSeq.getRoot().getLayoutMasterSet().getSimplePageMaster(reference);
//only simple-page-master supported, so pagemaster may be null
if (pagemaster != null) {
@@ -202,7 +202,7 @@ public class RTFHandler extends FOInputHandler {
/**
* @see org.apache.fop.fo.FOInputHandler#endPageSequence(PageSequence)
*/
- public void endPageSequence(PageSequence pageSeq) throws FOPException {
+ public void endPageSequence(PageSequence pageSeq) {
if (bDefer) {
return;
}