[goffice] format: fix ods format save problem



commit b49cd5ba069cc92b0db4dafe796ef765f2b91026
Author: Morten Welinder <terra gnome org>
Date:   Sat Aug 29 21:21:05 2020 -0400

    format: fix ods format save problem

 ChangeLog                 | 5 +++++
 NEWS                      | 3 +++
 goffice/utils/go-format.c | 1 +
 3 files changed, 9 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index 86c63d89..66d3e41e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-29  Morten Welinder  <terra gnome org>
+
+       * goffice/utils/go-format.c (go_format_output_simple_to_odf):
+       Close <text> item.  Fixes Gnumeric #518.
+
 2020-08-12  Morten Welinder <terra gnome org>
 
        * configure.ac: Post-release bump.
diff --git a/NEWS b/NEWS
index baecd143..7cbc96bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 goffice 0.10.49:
 
+Morten:
+       * Fix ods format problem.  [Gnumeric #518]
+
 --------------------------------------------------------------------------
 goffice 0.10.48:
 
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index b14b12a9..70a5b88c 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -9131,6 +9131,7 @@ go_format_output_simple_to_odf (GsfXMLOut *xout, gboolean with_extension,
                        gsf_xml_out_add_cstr (xout, STYLE "name", name);
                        gsf_xml_out_start_element (xout, NUMBER "text");
                        gsf_xml_out_add_cstr (xout, NULL, fstr);
+                       gsf_xml_out_end_element (xout);
                }
                result = FALSE;
                break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]