aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-02-26 15:47:03 +0000
committerFinn Bock <bckfnn@apache.org>2004-02-26 15:47:03 +0000
commit02cf7bed6dc6b9b34632c6b2305c47a0809760b1 (patch)
tree3ea6c3a4a9b996fb2bbd37b83e77b5548f86a827 /src/java/org/apache/fop/render
parentc3abce87cd7b4c2b37534f7c1516dfb9417faa10 (diff)
downloadxmlgraphics-fop-02cf7bed6dc6b9b34632c6b2305c47a0809760b1.tar.gz
xmlgraphics-fop-02cf7bed6dc6b9b34632c6b2305c47a0809760b1.zip
Use the new property expressions. Clients must use Length when retrieving
a length and must delay the call to Length.getValue() until the baselength has been assigned by the LayoutManagers. PR: 26778 (second half) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/rtf/RTFHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/RTFHandler.java b/src/java/org/apache/fop/render/rtf/RTFHandler.java
index 68894c3c0..3e8d09470 100644
--- a/src/java/org/apache/fop/render/rtf/RTFHandler.java
+++ b/src/java/org/apache/fop/render/rtf/RTFHandler.java
@@ -479,7 +479,7 @@ public class RTFHandler extends FOInputHandler {
}
try {
- Integer iWidth = new Integer(tc.getColumnWidth() / 1000);
+ Integer iWidth = new Integer(tc.getColumnWidth().getValue() / 1000);
builderContext.getTableContext().setNextColumnWidth(iWidth.toString() + "pt");
builderContext.getTableContext().setNextColumnRowSpanning(new Integer(0), null);
} catch (Exception e) {