gnumeric r16485 - in trunk: . src



Author: jbrefort
Date: Sun Mar 30 14:43:31 2008
New Revision: 16485
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16485&view=rev

Log:
2008-03-30  Jean Brefort  <jean brefort normalesup org>

	* src/stf.c: (stf_read_workbook), (stf_read_workbook_auto_csvtab):
	call workbook_recalc_all instead or workbook_recalc to ensure 
	formula evaluation. [#525107]



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/stf.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Sun Mar 30 14:43:31 2008
@@ -10,6 +10,7 @@
 	* Fix graph paste.  [#507342]
 	* Fix corrupted-xls-file problems.  [#514513] [#515343] [#515873]
 	  [#515876] [#518939]
+	* Evaluate formulas loaded from a text file. [#525107]
 
 Jody:
 	* Fix cell comment positioning problem.  [#506017]

Modified: trunk/src/stf.c
==============================================================================
--- trunk/src/stf.c	(original)
+++ trunk/src/stf.c	Sun Mar 30 14:43:31 2008
@@ -210,7 +210,7 @@
 				   enc, FALSE, NULL, FALSE,
 				   nameutf8, data, data_len);
 	if (dialogresult != NULL && stf_store_results (dialogresult, sheet, 0, 0)) {
-		workbook_recalc (book);
+		workbook_recalc_all (book);
 		sheet_queue_respan (sheet, 0, SHEET_MAX_ROWS-1);
 	} else {
 		/* the user has cancelled */
@@ -373,7 +373,7 @@
 	workbook_sheet_attach (book, sheet);
 
 	if (stf_parse_sheet (po, utf8data, NULL, sheet, 0, 0)) {
-		workbook_recalc (book);
+		workbook_recalc_all (book);
 		sheet_queue_respan (sheet, 0, SHEET_MAX_ROWS-1);
 		if (po->cols_exceeded) {
 /* Using go_cmd_context_error_import will destroy the successfully imported portion */



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