]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix an NPE
authorKaren Lease <klease@apache.org>
Fri, 9 Nov 2001 23:04:21 +0000 (23:04 +0000)
committerKaren Lease <klease@apache.org>
Fri, 9 Nov 2001 23:04:21 +0000 (23:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194554 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/FObjMixed.java

index b3c99d8a809dbc8d50d27185eb568c087410fa0f..32eb46651d5863976ef157e639fc80a9c5543dd6 100644 (file)
@@ -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 =