diff options
Diffstat (limited to 'src/org/apache/fop/fo/expr/PropertyParser.java')
-rw-r--r-- | src/org/apache/fop/fo/expr/PropertyParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/expr/PropertyParser.java b/src/org/apache/fop/fo/expr/PropertyParser.java index 2d5a89c61..f41cfc43a 100644 --- a/src/org/apache/fop/fo/expr/PropertyParser.java +++ b/src/org/apache/fop/fo/expr/PropertyParser.java @@ -270,10 +270,10 @@ public class PropertyParser extends PropertyTokenizer { numLen)); Length length = null; if (unitPart.equals(RELUNIT)) { - length = new Length(numPart.doubleValue(), + length = new FixedLength(numPart.doubleValue(), propInfo.currentFontSize()); } else - length = new Length(numPart.doubleValue(), unitPart); + length = new FixedLength(numPart.doubleValue(), unitPart); if (length == null) { throw new PropertyException("unrecognized unit name: " + currentTokenValue); |