diff options
author | Karen Lease <klease@apache.org> | 2001-10-14 20:29:12 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2001-10-14 20:29:12 +0000 |
commit | 654f55e1c67e127dbfac22b7e7a67add5b2ff318 (patch) | |
tree | fe5705a945ccf4936b35fdd4c2d70be598d3935d | |
parent | bc23e6dbba6f61f56288be97ff95000557304d80 (diff) | |
download | xmlgraphics-fop-654f55e1c67e127dbfac22b7e7a67add5b2ff318.tar.gz xmlgraphics-fop-654f55e1c67e127dbfac22b7e7a67add5b2ff318.zip |
Fix a bug in initializing compound properties like inline-progression-dimension from their 'corresponding' properties
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194503 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/codegen/properties.xsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index 06c37eee7..f00be7833 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -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; |