Commit 4f374830 authored by Jody Goldberg's avatar Jody Goldberg

Handle unknown object types better.

parent 5a51687e
1999-09-19 Jody Goldberg <jgoldberg@home.com>
1999-09-20 Jody Goldberg <jgoldberg@home.com>
* ms-escher.c (ms_escher_read_ClientData) : Handle unknown object
types.
* ms-summary.c (set_summary_item) : Made static.
......
......@@ -1006,6 +1006,9 @@ ms_escher_read_ClientData (MSEscherState * state, MSEscherHeader * h)
obj = ms_read_OBJ (state->q, state->wb, state->sheet->gnum_sheet);
if (obj == NULL)
return FALSE;
/* We should have an anchor set by now */
g_return_val_if_fail (h->anchor_set, FALSE);
g_return_val_if_fail (!obj->anchor_set, FALSE);
......
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