aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-12-14 01:56:09 +0000
committerGlen Mazza <gmazza@apache.org>2003-12-14 01:56:09 +0000
commit551fe0c5e57d8f351c5dbd2b5fc02eacb0788b66 (patch)
treed2f8ac5ad4ecc26030deb5de90f8b0670e908408 /src/java/org/apache/fop/fo
parentb62b1b075649a1008eba946291154d0a7d2f0417 (diff)
downloadxmlgraphics-fop-551fe0c5e57d8f351c5dbd2b5fc02eacb0788b66.tar.gz
xmlgraphics-fop-551fe0c5e57d8f351c5dbd2b5fc02eacb0788b66.zip
Bug 25474--incorrect element name (table-column instead of fo:table-column) given in code. Patch by Finn Bock (bckfnn at worldonline dot dk)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197037 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-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");
}