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 585c3d0e6f
commit baa1a12d2b
1 changed files with 2 additions and 2 deletions

View File

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