gnumeric r17011 - trunk/src/tools



Author: guelzow
Date: Sun Dec 14 00:52:36 2008
New Revision: 17011
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17011&view=rev

Log:
2008-12-13  Andreas J. Guelzow <aguelzow pyrshep ca>

	* analysis-histogram.c (analysis_tool_histogram_engine_run): set GNM_MAX 
	  as value not expression




Modified:
   trunk/src/tools/ChangeLog
   trunk/src/tools/analysis-histogram.c

Modified: trunk/src/tools/analysis-histogram.c
==============================================================================
--- trunk/src/tools/analysis-histogram.c	(original)
+++ trunk/src/tools/analysis-histogram.c	Sun Dec 14 00:52:36 2008
@@ -107,8 +107,7 @@
 	dao_set_format  (dao, to_col, 2, to_col, i_end, format);
 
 	if (info->bin_type & bintype_m_inf_lower) {
-		dao_set_cell_expr (dao, to_col, 1, 
-				   gnm_expr_new_constant (value_new_float (-GNM_MAX)));
+		dao_set_cell_value (dao, to_col, 1, value_new_float (-GNM_MAX));
 		i_start = 2;
 	} else
 		i_start = 1;
@@ -190,8 +189,7 @@
 	if (info->bin_type & bintype_p_inf_lower) {
 		dao_set_format  (dao, to_col, i_end, to_col, i_end, 
 				 _("\"to\" * \"\xe2\x88\x9e\""));
-		dao_set_cell_expr (dao, to_col, i_end, 
-				   gnm_expr_new_constant (value_new_float (GNM_MAX)));
+		dao_set_cell_value (dao, to_col, i_end, value_new_float (GNM_MAX));
 	}
 
 	/* format the lower end of the bins */



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