diff options
Diffstat (limited to 'src/scratchpad')
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java index 0c68acef4a..29875d67d7 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java @@ -850,7 +850,7 @@ public abstract class AbstractWordConverter String[] values = cr.getDropDownListValues(); Integer defIndex = cr.getDropDownListDefaultItemIndex(); - if ( values != null ) + if ( values != null && values.length > 0 ) { processDropDownList( currentBlock, cr, values, defIndex == null ? -1 : defIndex.intValue() ); |