jeremias 2005/01/06 03:09:03
Modified: src/java/org/apache/fop/fo/properties
BoxPropShorthandParser.java
Log:
convertValueForProperty didn't have the right signature and therefore didn't
override the superclass implementation.
Revision Changes Path
1.3 +5 -5
xml-fop/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java
Index: BoxPropShorthandParser.java
===================================================================
RCS file:
/home/cvs/xml-fop/src/java/org/apache/fop/fo/properties/BoxPropShorthandParser.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BoxPropShorthandParser.java 28 Oct 2004 10:00:24 -0000 1.2
+++ BoxPropShorthandParser.java 6 Jan 2005 11:09:03 -0000 1.3
@@ -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 @@
* 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();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]