diff options
author | Finn Bock <bckfnn@apache.org> | 2004-02-26 15:47:03 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-02-26 15:47:03 +0000 |
commit | 02cf7bed6dc6b9b34632c6b2305c47a0809760b1 (patch) | |
tree | 3ea6c3a4a9b996fb2bbd37b83e77b5548f86a827 /src/java/org/apache/fop/render | |
parent | c3abce87cd7b4c2b37534f7c1516dfb9417faa10 (diff) | |
download | xmlgraphics-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.java | 2 |
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) { |