From: Glen Mazza Date: Sun, 3 Oct 2004 00:50:43 +0000 (+0000) Subject: Set value for characterValue variable in fo.flow.Character--needed for its OneCharIte... X-Git-Tag: Root_Temp_KnuthStylePageBreaking~496 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5b3a63877520063e924429c10e477b92ad48b78f;p=xmlgraphics-fop.git Set value for characterValue variable in fo.flow.Character--needed for its OneCharIterator constructor. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197999 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/Character.java b/src/java/org/apache/fop/fo/flow/Character.java index cf7847117..19fc2f62c 100644 --- a/src/java/org/apache/fop/fo/flow/Character.java +++ b/src/java/org/apache/fop/fo/flow/Character.java @@ -76,6 +76,7 @@ public class Character extends FObj { */ protected void addProperties(Attributes attlist) throws SAXParseException { super.addProperties(attlist); + characterValue = propertyList.get(PR_CHARACTER).getCharacter(); getFOEventHandler().character(this); } @@ -84,7 +85,7 @@ public class Character extends FObj { */ public CharIterator charIterator() { return new OneCharIterator(characterValue); - // But what it the character is ignored due to white space handling? + // But what if the character is ignored due to white space handling? } /** diff --git a/src/java/org/apache/fop/fo/properties/CharacterProperty.java b/src/java/org/apache/fop/fo/properties/CharacterProperty.java index ee785d96f..d5a912681 100644 --- a/src/java/org/apache/fop/fo/properties/CharacterProperty.java +++ b/src/java/org/apache/fop/fo/properties/CharacterProperty.java @@ -44,7 +44,7 @@ public class CharacterProperty extends Property { return new CharacterProperty(c); } - } // end Charakter.Maker + } // end Character.Maker private char character;