diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-10-04 05:18:13 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-10-04 05:18:13 +0000 |
commit | edf136dfb54c06ef3f69f20c28f523b03cf0c5ce (patch) | |
tree | ddeeb8d05747e32f030f43adc93ef1d67f2a663b | |
parent | 186be36f64f233960c12f417e8425a7b2f36f6ab (diff) | |
download | xmlgraphics-fop-edf136dfb54c06ef3f69f20c28f523b03cf0c5ce.tar.gz xmlgraphics-fop-edf136dfb54c06ef3f69f20c28f523b03cf0c5ce.zip |
Modified for 1.5 compatibility
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@198008 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java b/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java index cfb5445b1..8006d360e 100644 --- a/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java +++ b/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java @@ -203,24 +203,24 @@ public class PageSequenceMaster { for (int cond = 0; cond < numConds; cond++) { FoConditionalPageMasterReference foCond; int blankOrNot, oddOrEven, pagePosition; - EnumType enum; + EnumType enumval; foCond = (FoConditionalPageMasterReference) (masterReference.getChild(cond)); // Get the master-reference property value simplePM = getMasterReference(foCond, simplePageMasters); - enum = (EnumType) + enumval = (EnumType) (foCond.getPropertyValue (PropNames.BLANK_OR_NOT_BLANK)); - blankOrNot = enum.getEnumValue(); - enum = (EnumType) + blankOrNot = enumval.getEnumValue(); + enumval = (EnumType) (foCond.getPropertyValue (PropNames.ODD_OR_EVEN)); - oddOrEven = enum.getEnumValue(); - enum = (EnumType) + oddOrEven = enumval.getEnumValue(); + enumval = (EnumType) (foCond.getPropertyValue (PropNames.PAGE_POSITION)); - pagePosition = enum.getEnumValue(); + pagePosition = enumval.getEnumValue(); // Create and add a single default PageCondition masterAlt.addCondition (masterAlt.new PageCondition |