aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Lease <klease@apache.org>2001-11-09 23:04:21 +0000
committerKaren Lease <klease@apache.org>2001-11-09 23:04:21 +0000
commitaf32d52f3d0d482ca55cf83ec980b69b2cd487e3 (patch)
tree6c8835b8b62716528e7c8ce4b1f6462cbd613d8b
parent00921a81aa583dfca32a90d7d52fd45ab2ce161d (diff)
downloadxmlgraphics-fop-af32d52f3d0d482ca55cf83ec980b69b2cd487e3.tar.gz
xmlgraphics-fop-af32d52f3d0d482ca55cf83ec980b69b2cd487e3.zip
Fix an NPE
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194554 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/org/apache/fop/fo/FObjMixed.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/FObjMixed.java b/src/org/apache/fop/fo/FObjMixed.java
index b3c99d8a8..32eb46651 100644
--- a/src/org/apache/fop/fo/FObjMixed.java
+++ b/src/org/apache/fop/fo/FObjMixed.java
@@ -25,6 +25,7 @@ public class FObjMixed extends FObj {
protected void addCharacters(char data[], int start, int length) {
if(textInfo == null) {
+ textInfo = new FOText.TextInfo();
String fontFamily =
getProperty("font-family").getString();
String fontStyle =