diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/FromParentFunction.java')
-rw-r--r-- | src/java/org/apache/fop/fo/expr/FromParentFunction.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/expr/FromParentFunction.java b/src/java/org/apache/fop/fo/expr/FromParentFunction.java index 2cc3228b3..2cd77d576 100644 --- a/src/java/org/apache/fop/fo/expr/FromParentFunction.java +++ b/src/java/org/apache/fop/fo/expr/FromParentFunction.java @@ -51,6 +51,8 @@ package org.apache.fop.fo.expr; import org.apache.fop.fo.Property; +import org.apache.fop.fo.properties.FOPropertyMapping; + /** * Class modelling the from-parent Property Value function. See Sec. 5.10.4 of @@ -86,7 +88,7 @@ public class FromParentFunction extends FunctionBase { * non-inherited properties too. Perhaps the result is different for * a property line line-height which "inherits specified"??? */ - return pInfo.getPropertyList().getFromParent(propName); + return pInfo.getPropertyList().getFromParent(FOPropertyMapping.getPropertyId(propName)); } } |