pivot-table: Reduce size of struct pivot_value from 80 bytes to 40.
[pspp] / src / output / odt.c
index ed70ecbb4cf447dfd4ec8d27d254aaf64e1aad7f..9fadc5d26ac600905a53fa4d9582454b50763dee 100644 (file)
@@ -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