]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Modified for 1.5 compatibility
authorPeter Bernard West <pbwest@apache.org>
Mon, 4 Oct 2004 05:18:13 +0000 (05:18 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 4 Oct 2004 05:18:13 +0000 (05:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@198008 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java

index cfb5445b108cc002ef2242ce11f57919a3b6d0ea..8006d360e128a9ab4ea753752fe50e7c4e9915a8 100644 (file)
@@ -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