[gnumeric] xlsx: warning killer
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xlsx: warning killer
- Date: Sun, 19 Nov 2017 16:59:08 +0000 (UTC)
commit 53d37d015c3c1313105cf0061d2f411aed18431d
Author: Morten Welinder <terra gnome org>
Date: Sun Nov 19 11:58:46 2017 -0500
xlsx: warning killer
plugins/excel/xlsx-write-drawing.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 0900514..4de8bc6 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -1023,12 +1023,14 @@ xlsx_write_one_plot (XLSXWriteState *state, GsfXMLOut *xml,
case XLSX_PT_XLCONTOURPLOT:
axis_type[2] = GOG_AXIS_PSEUDO_3D;
gsf_xml_out_start_element (xml, "c:surfaceChart");
+ xlsx_write_chart_bool (xml, "c:wireframe", FALSE);
break;
case XLSX_PT_GOGSURFACEPLOT:
case XLSX_PT_XLSURFACEPLOT:
axis_type[2] = GOG_AXIS_Z;
gsf_xml_out_start_element (xml, "c:surface3DChart");
+ xlsx_write_chart_bool (xml, "c:wireframe", FALSE);
break;
}
@@ -1089,7 +1091,6 @@ xlsx_write_one_plot (XLSXWriteState *state, GsfXMLOut *xml,
const char *trend_type;
GogObject *eq;
GOData *dat;
- char *name;
double intercept = gnm_nan;
if (!GOG_IS_TREND_LINE (trend))
@@ -1315,6 +1316,8 @@ xlsx_write_one_chart (XLSXWriteState *state, GsfXMLOut *xml, GogObject const *ch
gsf_xml_out_end_element (xml);
done = TRUE;
break;
+ default:
+ ; // Nothing
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]