aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Character.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2007-07-07 01:07:10 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2007-07-07 01:07:10 +0000
commit69b7925f5cdbd813a4136705ee7a19e9af6f28fc (patch)
treeb51e50a5278f70c4e07f0c37650f0cada298badd /src/java/org/apache/fop/fo/flow/Character.java
parent5abb46f263e647dee70d173e60d803928fc9e45c (diff)
downloadxmlgraphics-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.java4
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) {