gnumeric r17068 - trunk/plugins/excel
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17068 - trunk/plugins/excel
- Date: Thu, 15 Jan 2009 12:22:49 +0000 (UTC)
Author: jbrefort
Date: Thu Jan 15 12:22:49 2009
New Revision: 17068
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17068&view=rev
Log:
2009-01-15 Jean Brefort <jean brefort normalesup org>
* ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
dependent errors.
Modified:
trunk/plugins/excel/ChangeLog
trunk/plugins/excel/ms-chart.c
Modified: trunk/plugins/excel/ms-chart.c
==============================================================================
--- trunk/plugins/excel/ms-chart.c (original)
+++ trunk/plugins/excel/ms-chart.c Thu Jan 15 12:22:49 2009
@@ -554,7 +554,7 @@
XLChartReadState *s, BiffQuery *q)
{
guint16 const num_axis = GSF_LE_GET_GUINT16 (q->data);
- g_return_val_if_fail(1 <= num_axis && num_axis <= 2, TRUE);
+ XL_CHECK_CONDITION_VAL(1 <= num_axis && num_axis <= 2, TRUE);
d (0, g_printerr ("There are %hu axis.\n", num_axis););
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]