X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fodt.c;h=9fadc5d26ac600905a53fa4d9582454b50763dee;hb=5ce9c6ba1502e623ec6723a8273da77e5858b8d4;hp=ed70ecbb4cf447dfd4ec8d27d254aaf64e1aad7f;hpb=478f1bffcdec0b01391b8297e2df1a1f6aa7d4cf;p=pspp diff --git a/src/output/odt.c b/src/output/odt.c index ed70ecbb4c..9fadc5d26a 100644 --- a/src/output/odt.c +++ b/src/output/odt.c @@ -446,8 +446,8 @@ write_table_item_cell (struct odt_driver *odt, xmlTextWriterWriteString (odt->content_wtr, _xml (ds_cstr (&body))); ds_destroy (&body); - write_footnotes (odt, pt, cell->value->footnote_indexes, - cell->value->n_footnotes); + const struct pivot_value_ex *ex = pivot_value_ex (cell->value); + write_footnotes (odt, pt, ex->footnote_indexes, ex->n_footnotes); } static void