mirror of https://github.com/apache/poi.git
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:
parent
025d6fd0ba
commit
4d6d815908
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in New Issue