Commit c9f96e0d authored by Morten Welinder's avatar Morten Welinder
Browse files

ods: fix import problem with irregular sheet size.

parent ec7c3e10
......@@ -19,6 +19,7 @@ Morten:
* Use 1us resolution for NOW. [#549]
* Fix ssconvert sheet selection for csv. [#555]
* Test suite improvements.
* Fix ods import problem with irregular sheet sizes.
--------------------------------------------------------------------------
Gnumeric 1.12.48
......
......@@ -14128,6 +14128,10 @@ openoffice_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *io_cont
max_rows = sot->rows;
l = l->next;
}
if (!gnm_sheet_valid_size (max_cols, max_rows))
gnm_sheet_suggest_size (&max_cols, &max_rows);
l = state.sheet_order;
while (l != NULL) {
sheet_order_t *sot;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment