prevent NPE in rare cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145284 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-11 18:40:34 +00:00
parent bcd98fc6c9
commit df4deaf1ee

View File

@ -34,6 +34,10 @@ public final class TableProperties extends TAPAbstractType implements Cloneable
setBrcVertical( new BorderCode() ); setBrcVertical( new BorderCode() );
setRgbrcInsideDefault_0( new BorderCode() ); setRgbrcInsideDefault_0( new BorderCode() );
setRgbrcInsideDefault_1( new BorderCode() ); setRgbrcInsideDefault_1( new BorderCode() );
setRgdxaCenter( new short[0] );
setRgdxaCenterPrint( new short[0] );
setRgshd( new ShadingDescriptor[0] );
setRgtc( new TableCellDescriptor[0] );
} }
public TableProperties( short columns ) public TableProperties( short columns )