Commit 89d812bc authored by Stepan Kasal's avatar Stepan Kasal

Fix compilation warnings.

parent 7ae12725
2005-08-24 Stepan Kasal <kasal@ucw.cz>
* src/workbook.c: Move the /* WITH_GTK */ to the right #endif.
* src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
* src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
variable.
2005-08-23 Morten Welinder <terra@gnome.org>
......
2005-08-24 Stepan Kasal <kasal@ucw.cz>
* src/workbook.c: Move the /* WITH_GTK */ to the right #endif.
* src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
* src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
variable.
2005-08-23 Morten Welinder <terra@gnome.org>
......
2005-08-25 Stepan Kasal <kasal@ucw.cz>
* ms-chart.c (BC_R(text)): Comment out declarations of variables for
commented out code.
2005-08-24 Jody Goldberg <jody@gnome.org>
* ms-excel-write.c (excel_font_new) : typo. [#314206]
2005-08-17 Jean Brefort <jean.brefort@normalesup.org>
* ms-chart.c: (ms_excel_chart_write): fix a compilation warning
* ms-chart.c (ms_excel_chart_write): fix a compilation warning
introduced yesterday and also a multiple chart export problem
(#310967).
......
......@@ -1867,6 +1867,7 @@ static gboolean
BC_R(text)(XLChartHandler const *handle,
XLChartReadState *s, BiffQuery *q)
{
#if 0 /*when we have somewhere to store it */
static GnmHAlign const haligns[] = { /* typo in docs */
HALIGN_LEFT, HALIGN_CENTER, HALIGN_RIGHT, HALIGN_JUSTIFY
};
......@@ -1874,15 +1875,14 @@ BC_R(text)(XLChartHandler const *handle,
VALIGN_TOP, VALIGN_CENTER, VALIGN_BOTTOM, VALIGN_JUSTIFY
};
unsigned tmp;
#endif
BC_R(get_style) (s);
tmp = GSF_LE_GET_GINT8 (q->data + 0);
#if 0 /*when we have somewhere to store it */
style-> .... = haligns[tmp < G_N_ELEMENTS (haligns) ? tmp : 0];
#endif
tmp = GSF_LE_GET_GINT8 (q->data + 0);
s->style-> .... = haligns[tmp < G_N_ELEMENTS (haligns) ? tmp : 0];
tmp = GSF_LE_GET_GINT8 (q->data + 1);
#if 0 /*when we have somewhere to store it */
style-> .... = valigns[tmp < G_N_ELEMENTS (valigns) ? tmp : 0];
s->style-> .... = valigns[tmp < G_N_ELEMENTS (valigns) ? tmp : 0];
#endif
s->style->font.color = BC_R(color) (q->data+4, "Font");
......
......@@ -60,7 +60,6 @@ so_polygon_view_set_bounds (SheetObjectView *sov, double const *coords, gboolean
FooCanvasItem *view = FOO_CANVAS_ITEM (sov);
if (visible) {
FooCanvasPolygon *poly = FOO_CANVAS_POLYGON (view);
SheetObject *so = sheet_object_view_get_so (sov);
GnmSOPolygon const *sop = GNM_SO_POLYGON (so);
unsigned i = sop->points->len / 2;
......
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