Commit 3328d304 authored by Morten Welinder's avatar Morten Welinder

xls: fix crash for really old format.

parent 2541c131
......@@ -3,6 +3,7 @@ Gnumeric 1.12.44
Morten:
* Fix SWITCH's default argument. [#354]
* Fix problem with setting auto-func. [#357]
* Fix problem reading really old xls format.
--------------------------------------------------------------------------
Gnumeric 1.12.43
......
2018-10-02 Morten Welinder <terra@gnome.org>
* ms-excel-read.c (excel_read_BOF): No need to set sheet and unref
here for old-format full-sheet graph. It's already done in
ms_excel_chart_read.
2018-08-19 Morten Welinder <terra@gnome.org>
* Release 1.12.43
......
......@@ -7135,14 +7135,12 @@ excel_read_BOF (BiffQuery *q,
if (ver->type == MS_BIFF_TYPE_Worksheet) {
excel_read_sheet (q, importer, wb_view, esheet);
ms_container_realize_objs (sheet_container (esheet));
/* reverse the sheet objects satck order */
/* reverse the sheet objects stack order */
esheet->sheet->sheet_objects = g_slist_reverse (esheet->sheet->sheet_objects);
} else {
SheetObject *obj = sheet_object_graph_new (NULL);
ms_excel_chart_read (q, sheet_container (esheet),
obj, esheet->sheet);
sheet_object_set_sheet (obj, esheet->sheet);
g_object_unref (obj);
}
} else if (ver->type == MS_BIFF_TYPE_VBModule ||
......
Markdown is supported
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