git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-12 15:19:17 +00:00
parent 5d0668da8d
commit f79348fee9

View File

@ -4,7 +4,7 @@ public class DefaultFontReplacer implements FontReplacer
{ {
public Triplet update( Triplet original ) public Triplet update( Triplet original )
{ {
if ( !AbstractWordUtils.isNotEmpty( original.fontName ) ) if ( AbstractWordUtils.isNotEmpty( original.fontName ) )
{ {
String fontName = original.fontName; String fontName = original.fontName;
@ -34,7 +34,7 @@ public class DefaultFontReplacer implements FontReplacer
original.fontName = fontName; original.fontName = fontName;
} }
if ( !AbstractWordUtils.isNotEmpty( original.fontName ) ) if ( AbstractWordUtils.isNotEmpty( original.fontName ) )
{ {
if ( "Times Regular".equals( original.fontName ) if ( "Times Regular".equals( original.fontName )
|| "Times-Regular".equals( original.fontName ) ) || "Times-Regular".equals( original.fontName ) )