do not output empty borders (esp. with incorrect "-1" values of widths)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-09-20 09:19:09 +00:00
parent 025d6fd0ba
commit 4d6d815908
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class WordToFoUtils extends AbstractWordUtils
if ( element == null )
throw new IllegalArgumentException( "element is null" );
if ( borderCode == null || borderCode.getBorderType() == 0 )
if ( borderCode == null || borderCode.isEmpty() )
return;
if ( isEmpty( where ) )