]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
compare to correct string
authorKeiron Liddle <keiron@apache.org>
Thu, 19 Dec 2002 08:12:04 +0000 (08:12 +0000)
committerKeiron Liddle <keiron@apache.org>
Thu, 19 Dec 2002 08:12:04 +0000 (08:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195781 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/PropertyList.java

index bab83a3532d32f8371d93e44f5788a93f7563b1d..b1ce1d130359291b4ecf35ef393a896df6ff24b5 100644 (file)
@@ -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);
             }