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

fix this for non bonobno builds.

2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobno
	  builds.
parent ec365ef4
2001-10-03 Jody Goldberg <jgoldberg@home.com>
* ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobno
builds.
2001-09-30 Jody Goldberg <jgoldberg@home.com>
* ms-chart.c (excel_chart_series_write_xml) : Use
......
......@@ -149,17 +149,19 @@ excel_chart_series_write_xml (ExcelChartSeries *series,
ExcelChartReadState *s, xmlNode *data)
{
unsigned i;
xmlNode * v;
g_return_if_fail (series->xml != NULL);
xmlAddChild (data, series->xml);
for (i = 0 ; i < MS_VECTOR_PURPOSE_MAX; i++ )
if (series->vector [i].remote_ID >= 0) {
#ifdef ENABLE_BONOBO
xmlNode * v;
v = gnm_graph_series_add_dimension (series->xml,
ms_vector_purpose_type_name [i]);
e_xml_set_integer_prop_by_name (v, "ID",
series->vector [i].remote_ID);
#endif
}
}
......
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