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=1b637f20b7695d235ed872ee73ae833628efcad4;hb=de03eaac4eaa1d42d7196471f22c526223d225a0;hp=24da4522c0799b15d38ed90ca003ca538227994d;hpb=491cd3744c11da45ac6e41c734e4a33c19b060c9;p=pspp diff --git a/src/output/odt.c b/src/output/odt.c index 24da4522c0..1b637f20b7 100644 --- a/src/output/odt.c +++ b/src/output/odt.c @@ -421,8 +421,8 @@ odt_submit_table (struct odt_driver *odt, struct table_item *item) if (caption != NULL) { xmlTextWriterStartElement (odt->content_wtr, _xml("text:h")); - xmlTextWriterWriteFormatAttribute (odt->content_wtr, _xml("text:level"), - "%d", 2); + xmlTextWriterWriteFormatAttribute (odt->content_wtr, + _xml("text:outline-level"), "%d", 2); xmlTextWriterWriteString (odt->content_wtr, _xml (table_item_get_caption (item)) ); xmlTextWriterEndElement (odt->content_wtr);