diff options
author | Glen Mazza <gmazza@apache.org> | 2004-09-04 20:55:21 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-09-04 20:55:21 +0000 |
commit | fe2d99426ed26953441a63e27aa87935e0877d6d (patch) | |
tree | 5570bda4f1bc4ea955660f57aa3e2ed328f13875 /src/java/org/apache/fop/fo/flow/Inline.java | |
parent | ce6918191d4a085815a977aa394c8516609e3f91 (diff) | |
download | xmlgraphics-fop-fe2d99426ed26953441a63e27aa87935e0877d6d.tar.gz xmlgraphics-fop-fe2d99426ed26953441a63e27aa87935e0877d6d.zip |
1.) Validation for fo:multi-toggle added.
2.) Switch to faster int's for findAncestor().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Inline.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Inline.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Inline.java b/src/java/org/apache/fop/fo/flow/Inline.java index 5df8b7573..33605498f 100644 --- a/src/java/org/apache/fop/fo/flow/Inline.java +++ b/src/java/org/apache/fop/fo/flow/Inline.java @@ -54,9 +54,9 @@ public class Inline extends FObjMixed { /* Check to see if this node can have block-level children. * See validateChildNode() below. */ - int lvlLeader = findAncestor("fo:leader"); - int lvlFootnote = findAncestor("fo:footnote"); - int lvlInCntr = findAncestor("fo:inline-container"); + int lvlLeader = findAncestor(FO_LEADER); + int lvlFootnote = findAncestor(FO_FOOTNOTE); + int lvlInCntr = findAncestor(FO_INLINE_CONTAINER); if (lvlLeader > 0) { if (lvlInCntr < 0 || |