[gnumeric] xls: fix t8001 failure.



commit 78aba6701fb4db2922c6a3a54603e3764842e3b8
Author: Morten Welinder <terra gnome org>
Date:   Tue Oct 13 22:15:51 2009 -0400

    xls: fix t8001 failure.

 plugins/excel/ChangeLog          |    3 +++
 plugins/excel/ms-formula-write.c |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 16e1c8c..370f410 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,5 +1,8 @@
 2009-10-13  Morten Welinder  <terra gnome org>
 
+	* ms-formula-write.c (excel_write_array_formula): Set
+	allow_sheetless_ref to avoid t8001 failure.
+
 	* ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
 	New functions.
 
diff --git a/plugins/excel/ms-formula-write.c b/plugins/excel/ms-formula-write.c
index 1ddda0f..b0552e5 100644
--- a/plugins/excel/ms-formula-write.c
+++ b/plugins/excel/ms-formula-write.c
@@ -920,6 +920,7 @@ excel_write_array_formula (ExcelWriteState *ewb,
 	pd.arrays  = NULL;
 	pd.context = CTXT_ARRAY;
 	pd.use_name_variant = FALSE;
+	pd.allow_sheetless_ref = TRUE;
 
 	start = ewb->bp->length;
 	write_node (&pd, array->expr, 0, XL_ROOT);



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