pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1598883 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
Date Sat, 31 May 2014 15:58:20 GMT
Author: lehmi
Date: Sat May 31 15:58:20 2014
New Revision: 1598883

URL: http://svn.apache.org/r1598883
Log:
PDFBOX-2101: don't clear the array of the descendant fonts

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java?rev=1598883&r1=1598882&r2=1598883&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType0Font.java Sat
May 31 15:58:20 2014
@@ -185,11 +185,7 @@ public class PDType0Font extends PDSimpl
     public void clear()
     {
         super.clear();
-        if (descendantFontArray != null)
-        {
-            descendantFontArray.clear();
-            descendantFontArray = null;
-        }
+        descendantFontArray = null;
         if (descendantFont != null)
         {
             descendantFont.clear();



Mime
View raw message