goffice r2154 - in trunk: . goffice/graph
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2154 - in trunk: . goffice/graph
- Date: Mon, 21 Jul 2008 14:16:14 +0000 (UTC)
Author: jbrefort
Date: Mon Jul 21 14:16:14 2008
New Revision: 2154
URL: http://svn.gnome.org/viewvc/goffice?rev=2154&view=rev
Log:
2008-07-21 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-style.c: (gog_style_font_sax_save): use
gsf_xml_out_add_cstr instead of gsf_xml_out_add_cstr_unchecked.
[#543986]
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/goffice/graph/gog-style.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Jul 21 14:16:14 2008
@@ -2,6 +2,7 @@
Jean:
* Fix plot engines memory leaks. [#542506]
+ * Fix gog_style_font_sax_save() writes unescaped font name. [#543986]
Jody:
* Reverse legend ordering for stacked 1.5d plots.
Modified: trunk/goffice/graph/gog-style.c
==============================================================================
--- trunk/goffice/graph/gog-style.c (original)
+++ trunk/goffice/graph/gog-style.c Mon Jul 21 14:16:14 2008
@@ -1605,7 +1605,7 @@
gsf_xml_out_start_element (output, "font");
go_xml_out_add_color (output, "color", style->font.color);
str = go_font_as_str (style->font.font);
- gsf_xml_out_add_cstr_unchecked (output, "font", str);
+ gsf_xml_out_add_cstr (output, "font", str);
g_free (str);
gsf_xml_out_add_bool (output, "auto-scale", style->font.auto_scale);
gsf_xml_out_end_element (output);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]