- struct sheet_detail *sd ;
- r->sheets = xrealloc (r->sheets, (r->current_sheet + 1) * sizeof *r->sheets);
- sd = &r->sheets[r->current_sheet];
- sd->start_col = sd->stop_col = sd->start_row = sd->stop_row = -1;
- r->spreadsheet.n_sheets = r->current_sheet + 1;
+ struct sheet_detail *detail ;
+ r->sheets = xrealloc (r->sheets, (sd->current_sheet + 1) * sizeof *r->sheets);
+ detail = &r->sheets[sd->current_sheet];
+ detail->start_col = detail->stop_col = detail->start_row = detail->stop_row = -1;
+ detail->name = NULL;
+ r->spreadsheet.n_sheets = sd->current_sheet + 1;