diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-01-06 11:09:03 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-01-06 11:09:03 +0000 |
commit | e81136f31784de8611dc4192101a1d11efbc79e7 (patch) | |
tree | f0e04a5946c9dfe098481dd6a659e2f9c4f156a5 /src/java/org/apache/fop/fo | |
parent | 7af240b42278b5aecc69e115bf44d6ac5b8b9261 (diff) | |
download | xmlgraphics-fop-e81136f31784de8611dc4192101a1d11efbc79e7.tar.gz xmlgraphics-fop-e81136f31784de8611dc4192101a1d11efbc79e7.zip |
convertValueForProperty didn't have the right signature and therefore didn't override the superclass implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r-- | src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java b/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java index f0fc32255..46cb225f7 100644 --- a/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java +++ b/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,11 +41,11 @@ public class BoxPropShorthandParser extends GenericShorthandParser { * int, ListProperty, PropertyMaker, PropertyList) */ protected Property convertValueForProperty(int propId, - ListProperty listProperty, + Property property, PropertyMaker maker, PropertyList propertyList) - throws PropertyException - { + throws PropertyException { + ListProperty listProperty = (ListProperty)property; String name = FOPropertyMapping.getPropertyName(propId); Property p = null; int count = listProperty.getList().size(); |