diff options
author | Glen Mazza <gmazza@apache.org> | 2005-03-10 23:41:53 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2005-03-10 23:41:53 +0000 |
commit | b1e947efe8ac8299a586a1a5d49faccbd352cb39 (patch) | |
tree | a54a75e9cefdb5e60be77856296ed98340a636bb /src/java/org/apache/fop | |
parent | 33505a76647852984b0259e613bcfecd61bf2a16 (diff) | |
download | xmlgraphics-fop-b1e947efe8ac8299a586a1a5d49faccbd352cb39.tar.gz xmlgraphics-fop-b1e947efe8ac8299a586a1a5d49faccbd352cb39.zip |
Minor code nitpick.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198476 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/LayoutMasterSet.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/LayoutMasterSet.java b/src/java/org/apache/fop/fo/pagination/LayoutMasterSet.java index c3e399f26..084fa4bec 100644 --- a/src/java/org/apache/fop/fo/pagination/LayoutMasterSet.java +++ b/src/java/org/apache/fop/fo/pagination/LayoutMasterSet.java @@ -62,11 +62,7 @@ public class LayoutMasterSet extends FObj { * @see org.apache.fop.fo.FONode#startOfNode */ protected void startOfNode() throws FOPException { - if (parent.getName().equals("fo:root")) { - Root root = (Root)parent; - root.setLayoutMasterSet(this); - } - + getRoot().setLayoutMasterSet(this); simplePageMasters = new java.util.HashMap(); pageSequenceMasters = new java.util.HashMap(); } |