Commit 891d0e9b authored by Jody Goldberg's avatar Jody Goldberg
Browse files

missed commit

parent 3f473207
......@@ -59,7 +59,7 @@ typedef struct {
char const *type_name, /* for versioning */
XmlParseContext const *ctxt,
xmlNodePtr tree);
gboolean (*prep_xml_sax) (SheetObject const *so,
void (*prep_sax_parser) (SheetObject *so,
GsfXMLIn *xin, xmlChar const **attrs);
void (*write_xml_sax) (SheetObject const *so, GsfXMLOut *output);
......
......@@ -165,19 +165,6 @@ sax_write_dep (GsfXMLOut *output, GnmDependent const *dep, char const *id)
}
}
static void
dom_write_dep (xmlNodePtr tree, GnmDependent const *dep, char const *id)
{
if (dep->expression != NULL) {
GnmParsePos pos;
char *val = gnm_expr_as_string (dep->expression,
parse_pos_init_sheet (&pos, dep->sheet),
gnm_expr_conventions_default);
xml_node_set_cstr (tree, id, val);
g_free (val);
}
}
static void
read_dep (GnmDependent *dep, char const *name,
xmlNodePtr tree, XmlParseContext const *context)
......
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