]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
COMPOUND_MASK/PROPERTY_MASK bug fixed in PropertyList.java (patch by Finn Bock).
authorGlen Mazza <gmazza@apache.org>
Mon, 5 Jan 2004 22:02:47 +0000 (22:02 +0000)
committerGlen Mazza <gmazza@apache.org>
Mon, 5 Jan 2004 22:02:47 +0000 (22:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197141 13f79535-47bb-0310-9956-ffa450edef68

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

index 0f02b013254aaffc9256b4c0af3d8d33388afa8f..cfb8396c4085503e7550e968cf767673933b43bd 100644 (file)
@@ -188,7 +188,7 @@ public class PropertyList extends HashMap {
         if (p == null) {
             p = getShorthand(propId & Constants.PROPERTY_MASK);
         }
-        if (p != null && (propId & Constants.PROPERTY_MASK) != 0) {
+        if (p != null && (propId & Constants.COMPOUND_MASK) != 0) {
             return getSubpropValue(p, propId);
         }
         return p;