gnumeric r16484 - in branches/gnumeric-1-8: . src



Author: jbrefort
Date: Sun Mar 30 14:42:07 2008
New Revision: 16484
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16484&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:
   branches/gnumeric-1-8/ChangeLog
   branches/gnumeric-1-8/NEWS
   branches/gnumeric-1-8/src/stf.c

Modified: branches/gnumeric-1-8/NEWS
==============================================================================
--- branches/gnumeric-1-8/NEWS	(original)
+++ branches/gnumeric-1-8/NEWS	Sun Mar 30 14:42:07 2008
@@ -1,5 +1,8 @@
 Gnumeric 1.8.3
 
+Jean:
+	* Evaluate formulas loaded from a text file. [#525107]
+
 Nick Lamb:
 	* Honour detachable-toolbar preference.  [#321867]
 

Modified: branches/gnumeric-1-8/src/stf.c
==============================================================================
--- branches/gnumeric-1-8/src/stf.c	(original)
+++ branches/gnumeric-1-8/src/stf.c	Sun Mar 30 14:42:07 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]