]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix a bug in initializing compound properties like inline-progression-dimension from...
authorKaren Lease <klease@apache.org>
Sun, 14 Oct 2001 20:29:12 +0000 (20:29 +0000)
committerKaren Lease <klease@apache.org>
Sun, 14 Oct 2001 20:29:12 +0000 (20:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194503 13f79535-47bb-0310-9956-ffa450edef68

src/codegen/properties.xsl

index 06c37eee739686c95a4faf194bada147fbfa9d8a..f00be78337a0ddd9065637cfb7852c59274e0492 100644 (file)
@@ -502,7 +502,9 @@ public class <xsl:value-of select="$classname"/> extends  <xsl:value-of select="
       <xsl:apply-templates select="propval"/>
       subprop= propertyList.getExplicitOrShorthand(sbExpr.toString());
       </xsl:otherwise></xsl:choose>
-      setSubprop(p, "<xsl:value-of select='../name'/>", subprop);
+      if (subprop != null) {
+        setSubprop(p, "<xsl:value-of select='../name'/>", subprop);
+      }
       </xsl:for-each>
       </xsl:if>
       return p;