From: Glen Mazza Date: Fri, 9 Jan 2004 03:05:55 +0000 (+0000) Subject: Bug 25990 (Patch by Finn Bock) errors in String->int conversions found. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~923 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cbe4125cd6fb95868d1b7b1c4d2d92eccb03a249;p=xmlgraphics-fop.git Bug 25990 (Patch by Finn Bock) errors in String->int conversions found. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197148 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index a787e93e2..1c3a6fd98 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -1003,7 +1003,15 @@ public class - propertyList.wmMap(Constants.PR_ + + + parentFO.propertyList + + + propertyList + + + .wmMap(Constants.PR_ diff --git a/src/java/org/apache/fop/fo/PropertyList.java b/src/java/org/apache/fop/fo/PropertyList.java index 0bfbf69ea..343481ded 100644 --- a/src/java/org/apache/fop/fo/PropertyList.java +++ b/src/java/org/apache/fop/fo/PropertyList.java @@ -385,8 +385,8 @@ public class PropertyList extends HashMap { public int wmMap(int lrtb, int rltb, int tbrl) { switch (writingMode) { case WritingMode.LR_TB: return lrtb; - case WritingMode.RL_TB: return lrtb; - case WritingMode.TB_RL: return lrtb; + case WritingMode.RL_TB: return rltb; + case WritingMode.TB_RL: return tbrl; } return -1; }