mirror of https://github.com/apache/poi.git
POI-58822 switch printStackTrace for actual log msg. Should probably open separate ticket to handle handful of other instances
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a14e53351
commit
7de587053e
|
@ -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.hslf.model.textproperties.TextPropCollection.TextPropType;
|
||||||
import org.apache.poi.util.LittleEndian;
|
import org.apache.poi.util.LittleEndian;
|
||||||
import org.apache.poi.util.LittleEndianOutputStream;
|
import org.apache.poi.util.LittleEndianOutputStream;
|
||||||
|
import org.apache.poi.util.POILogFactory;
|
||||||
|
import org.apache.poi.util.POILogger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TxMasterStyleAtom atom (4003).
|
* TxMasterStyleAtom atom (4003).
|
||||||
|
@ -69,7 +71,7 @@ public final class TxMasterStyleAtom extends RecordAtom {
|
||||||
try {
|
try {
|
||||||
init();
|
init();
|
||||||
} catch (Exception e){
|
} catch (Exception e){
|
||||||
e.printStackTrace();
|
POILogFactory.getLogger(TxMasterStyleAtom.class).log(POILogger.WARN, "Exception when reading available styles", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue