diff options
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/TextAttributesConverter.java')
-rw-r--r-- | src/java/org/apache/fop/render/rtf/TextAttributesConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java b/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java index 0fc3902df..a33e4bb9d 100644 --- a/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java +++ b/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java @@ -103,7 +103,7 @@ class TextAttributesConverter { } private static void attrBlockFontSize(FObj fobj, RtfAttributes rtfAttr) { - int fopValue = fobj.getProperty(Constants.PR_FONT_SIZE).getLength().getValue() / 500; + int fopValue = fobj.getPropLength(Constants.PR_FONT_SIZE) / 500; rtfAttr.set("fs", fopValue); } |