diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Character.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Character.java | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Character.java b/src/java/org/apache/fop/fo/flow/Character.java index 2a84a6dcf..464ae434a 100644 --- a/src/java/org/apache/fop/fo/flow/Character.java +++ b/src/java/org/apache/fop/fo/flow/Character.java @@ -22,7 +22,6 @@ package org.apache.fop.fo.flow; import java.util.List; // XML -import org.xml.sax.Attributes; import org.xml.sax.Locator; import org.xml.sax.SAXParseException; @@ -95,8 +94,6 @@ public class Character extends FObj { /** constant indicating that the character does not fit */ public static final int DOESNOT_FIT = 1; - private char characterValue; - /** * @param parent FONode that is the parent of this object */ @@ -157,21 +154,11 @@ public class Character extends FObj { invalidChildError(loc, nsURI, localName); } - - /** - * @see org.apache.fop.fo.FObj#addProperties - */ - protected void addProperties(Attributes attlist) throws SAXParseException { - super.addProperties(attlist); - characterValue = propertyList.get(PR_CHARACTER).getCharacter(); - getFOEventHandler().character(this); - } - /** * @see org.apache.fop.fo.FObj#charIterator */ public CharIterator charIterator() { - return new OneCharIterator(characterValue); + return new OneCharIterator(character); // But what if the character is ignored due to white space handling? } |