aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r--src/org/apache/fop/fo/PropertyList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/PropertyList.java b/src/org/apache/fop/fo/PropertyList.java
index bab83a353..b1ce1d130 100644
--- a/src/org/apache/fop/fo/PropertyList.java
+++ b/src/org/apache/fop/fo/PropertyList.java
@@ -255,7 +255,7 @@ public class PropertyList extends HashMap {
// if value is inherit then get computed value from
// parent
- if(p != null && "inherit".equals(p.getString())) {
+ if(p != null && "inherit".equals(p.getSpecifiedValue())) {
if (this.parentPropertyList != null) {
p = parentPropertyList.get(propertyName, true, false);
}