aboutsummaryrefslogtreecommitdiffstats
path: root/src/codegen
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-01-07 21:10:38 +0000
committerGlen Mazza <gmazza@apache.org>2004-01-07 21:10:38 +0000
commit6b78b19472cd4dcd67859c958b1e5f85bdc731c5 (patch)
treeb928b0a3eccfca3be0e5fb0ba37b873d14cf067d /src/codegen
parent596a99559b12770c03ce9fa6b3ae88091856f021 (diff)
downloadxmlgraphics-fop-6b78b19472cd4dcd67859c958b1e5f85bdc731c5.tar.gz
xmlgraphics-fop-6b78b19472cd4dcd67859c958b1e5f85bdc731c5.zip
Last of string->int conversions (more structural improvements still can be
done in PropertyList from Finn's patch, however). Made Constants values inherent to CompoundDatatype class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/properties.xsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl
index 2adb422ce..5a4970963 100644
--- a/src/codegen/properties.xsl
+++ b/src/codegen/properties.xsl
@@ -576,8 +576,7 @@ public class </xsl:text>
return baseProp;
}
- public Property getSubpropValue(Property baseProp, String subpropName) {
- int subpropId = org.apache.fop.fo.properties.FOPropertyMapping.getSubPropertyId(subpropName);
+ public Property getSubpropValue(Property baseProp, int subpropId) {
</xsl:text>
<xsl:value-of select="datatype"/>
<xsl:text> val = baseProp.get</xsl:text>