aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/rtf/TextAttributesConverter.java')
-rw-r--r--src/java/org/apache/fop/render/rtf/TextAttributesConverter.java2
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);
}