goffice r2156 - in branches/goffice-0-6: . goffice/graph
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2156 - in branches/goffice-0-6: . goffice/graph
- Date: Wed, 23 Jul 2008 06:31:13 +0000 (UTC)
Author: jbrefort
Date: Wed Jul 23 06:31:13 2008
New Revision: 2156
URL: http://svn.gnome.org/viewvc/goffice?rev=2156&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:
branches/goffice-0-6/ChangeLog
branches/goffice-0-6/NEWS
branches/goffice-0-6/goffice/graph/gog-style.c
Modified: branches/goffice-0-6/NEWS
==============================================================================
--- branches/goffice-0-6/NEWS (original)
+++ branches/goffice-0-6/NEWS Wed Jul 23 06:31:13 2008
@@ -5,6 +5,7 @@
* Fixed plot types activation/deactivation issues.
* Always use full lines when drawing markers. [#536276]
* Fix plot engines memory leaks. [#542506]
+ * Fix gog_style_font_sax_save() writes unescaped font name. [#543986]
Morten:
* Work around valgrind bug.
Modified: branches/goffice-0-6/goffice/graph/gog-style.c
==============================================================================
--- branches/goffice-0-6/goffice/graph/gog-style.c (original)
+++ branches/goffice-0-6/goffice/graph/gog-style.c Wed Jul 23 06:31:13 2008
@@ -1601,7 +1601,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]