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
0aa1773a25
commit
4d8970baca
@ -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
Block a user