View | Details | Raw Unified | Return to bug 45000
Collapse All | Expand All

(-)poi-3.1-beta1/src/scratchpad/src/org/apache/poi/hwpf/model/ListLevel.java (+4 lines)
Lines 225-230 Link Here
225
    System.arraycopy(_grpprlPapx, 0, buf, offset, _cbGrpprlPapx);
225
    System.arraycopy(_grpprlPapx, 0, buf, offset, _cbGrpprlPapx);
226
    offset += _cbGrpprlPapx;
226
    offset += _cbGrpprlPapx;
227
227
228
    if (_numberText != null) 
229
    {
228
    LittleEndian.putShort(buf, offset, (short)_numberText.length);
230
    LittleEndian.putShort(buf, offset, (short)_numberText.length);
229
    offset += LittleEndian.SHORT_SIZE;
231
    offset += LittleEndian.SHORT_SIZE;
230
    for (int x = 0; x < _numberText.length; x++)
232
    for (int x = 0; x < _numberText.length; x++)
Lines 232-237 Link Here
232
      LittleEndian.putShort(buf, offset, (short)_numberText[x]);
234
      LittleEndian.putShort(buf, offset, (short)_numberText[x]);
233
      offset += LittleEndian.SHORT_SIZE;
235
      offset += LittleEndian.SHORT_SIZE;
234
    }
236
    }
237
    }
238
	
235
    return buf;
239
    return buf;
236
  }
240
  }
237
  public int getSizeInBytes()
241
  public int getSizeInBytes()

Return to bug 45000