diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-07 01:07:10 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2007-07-07 01:07:10 +0000 |
commit | 69b7925f5cdbd813a4136705ee7a19e9af6f28fc (patch) | |
tree | b51e50a5278f70c4e07f0c37650f0cada298badd /src/java/org/apache/fop/fo/flow/Character.java | |
parent | 5abb46f263e647dee70d173e60d803928fc9e45c (diff) | |
download | xmlgraphics-fop-69b7925f5cdbd813a4136705ee7a19e9af6f28fc.tar.gz xmlgraphics-fop-69b7925f5cdbd813a4136705ee7a19e9af6f28fc.zip |
Bugzilla 41656:
Refactoring in the fo package:
-> removal of the childNodes instance member in fop.fo.FObj
-> addition of a firstChild instance member in fop.fo.FObj
-> addition of a siblings instance member in fop.fo.FONode
-> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj
-> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Character.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/Character.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Character.java b/src/java/org/apache/fop/fo/flow/Character.java index b93ccbea7..78a1ea0ef 100644 --- a/src/java/org/apache/fop/fo/flow/Character.java +++ b/src/java/org/apache/fop/fo/flow/Character.java @@ -273,9 +273,7 @@ public class Character extends FObj { } public void remove() { - foChar.character = CharUtilities.CODE_EOT; - getFOEventHandler().getXMLWhiteSpaceHandler() - .addDiscardableFOChar(foChar); + foChar.parent.removeChild(foChar); } public void replaceChar(char c) { |