aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/fop/fo/expr/PPColWidthFunction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
index 8ae05d3e4..1c66675c1 100644
--- a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
+++ b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
@@ -85,7 +85,7 @@ public class PPColWidthFunction extends FunctionBase {
throw new PropertyException("Non numeric operand to "
+ "proportional-column-width function");
}
- if (!pInfo.getPropertyList().getElement().equals("table-column")) {
+ if (!pInfo.getPropertyList().getElement().equals("fo:table-column")) {
throw new PropertyException("proportional-column-width function "
+ "may only be used on table-column FO");
}