private void updateRowHeight(Worksheet sheet, int row) {
final int height = Utils.getRowHeightInPx(sheet, row);
final Row rowobj = sheet.getRow(row);
final boolean newHidden = rowobj == null ? false : rowobj.getZeroHeight();
HeaderPositionHelper posHelper = getRowPositionHelper(sheet);
HeaderPositionInfo info = posHelper.getInfo(row);
if ((info == null && (height != posHelper.getDefaultSize() || newHidden)) || (info != null && (info.size != height || info.hidden != newHidden))) {
int id = info == null ? _custRowId.next() : info.id;
posHelper.setInfoValues(row, height, id, newHidden);
((ExtraCtrl) getExtraCtrl()).setRowHeight(sheet, row, height, id, newHidden);
}