gnumeric r17089 - trunk/plugins/excel



Author: mortenw
Date: Sat Jan 24 00:09:02 2009
New Revision: 17089
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17089&view=rev

Log:
2009-01-23  Morten Welinder  <terra gnome org>

	* ms-excel-write.c (excel_sheet_write_block): Handle the case of a
	missing cell better.  Partially fixes #568929.



Modified:
   trunk/plugins/excel/ChangeLog
   trunk/plugins/excel/ms-excel-write.c

Modified: trunk/plugins/excel/ms-excel-write.c
==============================================================================
--- trunk/plugins/excel/ms-excel-write.c	(original)
+++ trunk/plugins/excel/ms-excel-write.c	Sat Jan 24 00:09:02 2009
@@ -4731,7 +4731,9 @@
 
 			if (xf < 0) {
 				g_warning ("Can't find style %p for cell %s!%s",
-					   esv.style, sheet->name_unquoted, cell_name (cell));
+					   esv.style,
+					   sheet->name_unquoted,
+					   cell ? cell_name (cell) : "?");
 				xf = 0;
 			}
 			if (cell == NULL) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]