gnumeric r16591 - in trunk: . src
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16591 - in trunk: . src
- Date: Tue, 20 May 2008 20:33:10 +0000 (UTC)
Author: mortenw
Date: Tue May 20 20:33:10 2008
New Revision: 16591
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16591&view=rev
Log:
2008-05-20 Morten Welinder <terra gnome org>
* src/value-sheet.c (value_area_get_x_y): Make sure to return an
empty value, not NULL, when a cell in a range isn't there. Fixes
#533953.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/value-sheet.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Tue May 20 20:33:10 2008
@@ -20,6 +20,7 @@
* Fix OPT_BS_DELTA assert. [#533656]
* Fix parser crashes. [#533951]
* Fix RANDEXPPOW hang. [#533965]
+ * Fix array evaluation problem. [#533953]
--------------------------------------------------------------------------
Gnumeric 1.9.0
Modified: trunk/src/value-sheet.c
==============================================================================
--- trunk/src/value-sheet.c (original)
+++ trunk/src/value-sheet.c Tue May 20 20:33:10 2008
@@ -225,13 +225,15 @@
/* Speedup */
if (sheet->cols.max_used < a_col ||
sheet->rows.max_used < a_row)
- return NULL;
+ return value_new_empty ();
cell = sheet_cell_get (sheet, a_col, a_row);
if (cell != NULL) {
gnm_cell_eval (cell);
return cell->value;
}
+
+ return value_new_empty ();
} else
return v;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]