]> source.dussan.org Git - poi.git/commitdiff
POI-58822 switch printStackTrace for actual log msg. Should probably open separate...
authorTim Allison <tallison@apache.org>
Fri, 8 Jan 2016 17:06:39 +0000 (17:06 +0000)
committerTim Allison <tallison@apache.org>
Fri, 8 Jan 2016 17:06:39 +0000 (17:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723765 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hslf/record/TxMasterStyleAtom.java

index 9ee64d62814c7c6350e61696e6a918df8e868854..e63137d9c596fe7a83585903de4fe5d6f4160f66 100644 (file)
@@ -28,6 +28,8 @@ import org.apache.poi.hslf.model.textproperties.TextPropCollection;
 import org.apache.poi.hslf.model.textproperties.TextPropCollection.TextPropType;
 import org.apache.poi.util.LittleEndian;
 import org.apache.poi.util.LittleEndianOutputStream;
+import org.apache.poi.util.POILogFactory;
+import org.apache.poi.util.POILogger;
 
 /**
  * TxMasterStyleAtom atom (4003).
@@ -69,7 +71,7 @@ public final class TxMasterStyleAtom extends RecordAtom {
         try {
             init();
         } catch (Exception e){
-            e.printStackTrace();
+            POILogFactory.getLogger(TxMasterStyleAtom.class).log(POILogger.WARN, "Exception when reading available styles", e);
         }
     }