Commit 4f532141 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

when reading the mystery trailing IMDATA we need to handle CONTINUE. We


2001-04-01  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
	  IMDATA we need to handle CONTINUE.  We really need to figure out
	  what this is.
parent 8baddc83
2001-04-01 Jody Goldberg <jgoldberg@home.com>
* ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
IMDATA we need to handle CONTINUE. We really need to figure out
what this is.
2001-04-01 Morten Welinder <terra@diku.dk> 2001-04-01 Morten Welinder <terra@diku.dk>
* ms-chart.c (BC): Fix prototype. * ms-chart.c (register_handlers) : Fix prototype.
* gnumeric-chart.c (gnumeric_chart_new): Fix prototype. * gnumeric-chart.c (gnumeric_chart_new): Fix prototype.
......
...@@ -395,11 +395,13 @@ ms_obj_read_biff8_obj (BiffQuery *q, MSContainer *container, MSObj *obj) ...@@ -395,11 +395,13 @@ ms_obj_read_biff8_obj (BiffQuery *q, MSContainer *container, MSObj *obj)
* but very careful in case it is not there. * but very careful in case it is not there.
*/ */
if (next_biff_record_maybe_imdata) { if (next_biff_record_maybe_imdata) {
guint16 opcode; guint16 op;
if (ms_biff_query_peek_next (q, &opcode) && if (ms_biff_query_peek_next (q, &op) && op == BIFF_IMDATA) {
opcode == BIFF_IMDATA) { ms_biff_query_next (q);
g_return_val_if_fail (ms_biff_query_next (q), TRUE); while (ms_biff_query_peek_next (q, &op) &&
op == BIFF_CONTINUE)
ms_biff_query_next (q);
} }
} }
......
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