aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/FObjMixed.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/FObjMixed.java')
-rw-r--r--src/org/apache/fop/fo/FObjMixed.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/FObjMixed.java b/src/org/apache/fop/fo/FObjMixed.java
index d69c68179..ddab909cc 100644
--- a/src/org/apache/fop/fo/FObjMixed.java
+++ b/src/org/apache/fop/fo/FObjMixed.java
@@ -33,7 +33,7 @@ public class FObjMixed extends FObj {
}
protected void addCharacters(char data[], int start, int length) {
- children.addElement(new FOText(data, start, length, this));
+ addChild(new FOText(data, start, length, this));
}
public Status layout(Area area) throws FOPException {