aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-01-09 03:05:55 +0000
committerGlen Mazza <gmazza@apache.org>2004-01-09 03:05:55 +0000
commitcbe4125cd6fb95868d1b7b1c4d2d92eccb03a249 (patch)
tree626f5fb842744c5af2d1d34065aa30fc1e861ae7 /src/java/org/apache/fop/fo
parentca7ccdd769a9002e39a2d158d814f20707eea7d1 (diff)
downloadxmlgraphics-fop-cbe4125cd6fb95868d1b7b1c4d2d92eccb03a249.tar.gz
xmlgraphics-fop-cbe4125cd6fb95868d1b7b1c4d2d92eccb03a249.zip
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
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r--src/java/org/apache/fop/fo/PropertyList.java4
1 files changed, 2 insertions, 2 deletions
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;
}