gnumeric r17022 - in trunk: . plugins/excel



Author: mortenw
Date: Mon Dec 15 18:30:08 2008
New Revision: 17022
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17022&view=rev

Log:
2008-12-15  Morten Welinder  <terra gnome org>

	* ms-chart.c (BC_R): Don't use g_return_val_if_fail for data
	dependent errors.  Fixes #564499.



Modified:
   trunk/NEWS
   trunk/plugins/excel/ChangeLog
   trunk/plugins/excel/ms-chart.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Mon Dec 15 18:30:08 2008
@@ -56,6 +56,7 @@
 	* Dump information about number system into xml.
 	* Improve sc import.  Not sure why.  [#564495]
 	* Fix date overflow problem.  [#564502]
+	* Fix XLS import critical.  [#564499]
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.3

Modified: trunk/plugins/excel/ms-chart.c
==============================================================================
--- trunk/plugins/excel/ms-chart.c	(original)
+++ trunk/plugins/excel/ms-chart.c	Mon Dec 15 18:30:08 2008
@@ -2742,7 +2742,7 @@
 			}
 		}
 
-		g_return_val_if_fail (s->plot != NULL, TRUE);
+		XL_CHECK_CONDITION_VAL (s->plot != NULL, TRUE);
 
 		/*
 		 * Check whether the chart already contains a plot and, if so,



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