aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/PPColWidthFunction.java')
-rw-r--r--src/java/org/apache/fop/fo/expr/PPColWidthFunction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
index 1c66675c1..4d2ce74fc 100644
--- a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
+++ b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
@@ -52,7 +52,6 @@ package org.apache.fop.fo.expr;
import org.apache.fop.fo.Property;
-import org.apache.fop.fo.LengthProperty;
import org.apache.fop.datatypes.TableColLength;
/**
@@ -90,7 +89,7 @@ public class PPColWidthFunction extends FunctionBase {
+ "may only be used on table-column FO");
}
// Check if table-layout is "fixed"...
- return new LengthProperty(new TableColLength(d.doubleValue()));
+ return new TableColLength(d.doubleValue());
}
}