Commit f4fe4f59 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

fix writing styles now that links are always defined.


2002-09-05  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_write_style) : fix writing styles now that links
	  are always defined.
parent 52697d3c
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_write_style) : fix writing styles now that links
are always defined.
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/parser.y (yylex) : support 1/2 absolute row only refs.
2002-09-04 Jody Goldberg <jody@gnome.org>
* src/item-edit.c (item_edit_draw) : fix leak.
2002-09-04 Jody Goldberg <jody@gnome.org>
* schemas/Makefile.am : get the schemas translated
......
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_write_style) : fix writing styles now that links
are always defined.
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/parser.y (yylex) : support 1/2 absolute row only refs.
2002-09-04 Jody Goldberg <jody@gnome.org>
* src/item-edit.c (item_edit_draw) : fix leak.
2002-09-04 Jody Goldberg <jody@gnome.org>
* schemas/Makefile.am : get the schemas translated
......
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/xml-io.c (xml_write_style) : fix writing styles now that links
are always defined.
2002-09-05 Jody Goldberg <jody@gnome.org>
* src/parser.y (yylex) : support 1/2 absolute row only refs.
2002-09-04 Jody Goldberg <jody@gnome.org>
* src/item-edit.c (item_edit_draw) : fix leak.
2002-09-04 Jody Goldberg <jody@gnome.org>
* schemas/Makefile.am : get the schemas translated
......
......@@ -534,7 +534,8 @@ xml_write_style (XmlParseContext *ctxt,
MStyle *style)
{
xmlNodePtr cur, child;
xmlChar *tstr;
xmlChar *tstr;
GnmHLink *link;
cur = xmlNewDocNode (ctxt->doc, ctxt->ns, (xmlChar const *)"Style",
NULL);
......@@ -614,9 +615,7 @@ xml_write_style (XmlParseContext *ctxt,
mstyle_get_font_strike (style));
}
if (mstyle_is_element_set (style, MSTYLE_HLINK)) {
GnmHLink *link = mstyle_get_hlink (style);
if ((link = mstyle_get_hlink (style)) != NULL) {
child = xmlNewChild (cur, ctxt->ns,
(xmlChar const *)"HyperLink", NULL);
xml_node_set_cstr (child, "type",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment