diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/GenericShorthandParser.java')
-rw-r--r-- | src/java/org/apache/fop/fo/GenericShorthandParser.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/GenericShorthandParser.java b/src/java/org/apache/fop/fo/GenericShorthandParser.java index c00fc984c..c15fc7b47 100644 --- a/src/java/org/apache/fop/fo/GenericShorthandParser.java +++ b/src/java/org/apache/fop/fo/GenericShorthandParser.java @@ -52,7 +52,6 @@ package org.apache.fop.fo; import java.util.Vector; import java.util.Enumeration; -import org.apache.fop.fo.properties.FOPropertyMapping; public class GenericShorthandParser implements ShorthandParser { @@ -96,8 +95,7 @@ public class GenericShorthandParser implements ShorthandParser { if (count() == 1) { String sval = ((Property)list.elementAt(0)).getString(); if (sval != null && sval.equals("inherit")) { - String name = FOPropertyMapping.getPropertyName(propId); - return propertyList.getFromParent(name); + return propertyList.getFromParent(propId); } } return convertValueForProperty(propId, maker, propertyList); |