mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
319c4197c1
Previously, an empty row would mess with the parser: if we're in an empty row, our helper methods don't detect us as being in the "row" _or_ in the "sheetData". So `has_cell()` would return false when it shouldn't. Similarly, `read_cell()` wouldn't skip rows; so `read_cell()` would return an invalid cell when placed in an empty row, causing a segfault when the caller tried to use the cell. Callers must take care to call `has_next()` before `read_next()`. In the future, perhaps we can make `read_next()` return a `std::optional` and nix `has_next()` altogether? [Closes #492] |
||
---|---|---|
.. | ||
1_powerpoint_presentation.xlsx | ||
2_minimal.xlsx | ||
3_default.xlsx | ||
4_every_style.xlsx | ||
5_encrypted_agile.xlsx | ||
6_encrypted_libre.xlsx | ||
7_encrypted_standard.xlsx | ||
8_encrypted_numbers.xlsx | ||
9_unicode_Λ.xlsx | ||
10_comments_hyperlinks_formulae.xlsx | ||
11_print_settings.xlsx | ||
12_advanced_properties.xlsx | ||
13_custom_heights_widths.xlsx | ||
14_images.xlsx | ||
15_phonetics.xlsx | ||
Issue279_workbook_delete_rename.xlsx | ||
Issue353_first_row_empty_w_properties.xlsx | ||
Issue445_inline_str.xlsx | ||
Issue492_empty_row.xlsx |