gnumeric r17277 - trunk/plugins/excel
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17277 - trunk/plugins/excel
- Date: Wed, 1 Apr 2009 21:00:40 +0000 (UTC)
Author: mortenw
Date: Wed Apr 1 21:00:40 2009
New Revision: 17277
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17277&view=rev
Log:
2009-04-01 Morten Welinder <terra gnome org>
* xlsx-write.c (xlsx_write_sheet): Fix access to ->sheet.
Modified:
trunk/plugins/excel/ChangeLog
trunk/plugins/excel/xlsx-write.c
Modified: trunk/plugins/excel/xlsx-write.c
==============================================================================
--- trunk/plugins/excel/xlsx-write.c (original)
+++ trunk/plugins/excel/xlsx-write.c Wed Apr 1 21:00:40 2009
@@ -1253,9 +1253,11 @@
GnmRange extent;
GSList *charts;
char const *chart_drawing_rel_id = NULL;
- GnmStyle **col_styles = g_new (GnmStyle*, MIN (XLSX_MAX_COLS, gnm_sheet_get_max_cols (state->sheet)));
+ GnmStyle **col_styles;
state->sheet = workbook_sheet_by_index (state->base.wb, i);
+ col_styles = g_new (GnmStyle*, MIN (XLSX_MAX_COLS,
+ gnm_sheet_get_max_cols (state->sheet)));
excel_sheet_extent (state->sheet, &extent, col_styles,
MIN (XLSX_MAX_COLS, gnm_sheet_get_max_cols (state->sheet)),
MIN (XLSX_MAX_ROWS, gnm_sheet_get_max_rows (state->sheet)), state->io_context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]