X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fodt.c;fp=src%2Foutput%2Fodt.c;h=21aaeb6c1a723ebe9927a0d02beb85fc67456c24;hb=5b5099296b3c7212623991de8920e1459e234922;hp=d0860585cd40c35219bfad9533803770e74613bd;hpb=d3fef25674baf4f4e25502f257c680b5090535c6;p=pspp diff --git a/src/output/odt.c b/src/output/odt.c index d0860585cd..21aaeb6c1a 100644 --- a/src/output/odt.c +++ b/src/output/odt.c @@ -454,17 +454,17 @@ static void write_table (struct odt_driver *odt, const struct table_item *item) { const struct table *tab = table_item_get_table (item); - const char *caption = table_item_get_caption (item); + const char *title = table_item_get_title (item); int r, c; /* Write a heading for the table */ - if (caption != NULL) + if (title != NULL) { xmlTextWriterStartElement (odt->content_wtr, _xml("text:h")); xmlTextWriterWriteFormatAttribute (odt->content_wtr, _xml("text:outline-level"), "%d", 2); xmlTextWriterWriteString (odt->content_wtr, - _xml (table_item_get_caption (item)) ); + _xml (table_item_get_title (item)) ); xmlTextWriterEndElement (odt->content_wtr); }