[gnumeric] always initialize matrix bounds



commit ca22d77bd290ce424bc35600280198448750e095
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Dec 9 20:11:56 2009 +0100

    always initialize matrix bounds

 plugins/excel/ChangeLog  |    4 ++++
 plugins/excel/ms-chart.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index ee63497..59b5694 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-09  Jean Brefort  <jean brefort normalesup org>
+
+	* ms-chart.c (end): always initialize matrix bounds. [#593937]
+
 2009-11-29  Morten Welinder <terra gnome org>
 
 	* Release 1.9.16
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index d3f3d1f..1a4cd2d 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -2724,6 +2724,8 @@ BC_R(end)(XLChartHandler const *handle,
 					}
 					vector.start.row = row_start;
 					vector.end.row = last;
+					vector.start.col = col_start;
+					vector.end.col = col;
 					gog_series_set_dim (series, 2,
 						gnm_go_data_matrix_new_expr (sheet,
 							gnm_expr_top_new_constant (
@@ -2752,6 +2754,8 @@ BC_R(end)(XLChartHandler const *handle,
 					}
 					vector.start.col = col_start;
 					vector.end.col = last;
+					vector.start.row = row_start;
+					vector.end.row = row;
 					gog_series_set_dim (series, 2,
 						gnm_go_data_matrix_new_expr (sheet,
 							gnm_expr_top_new_constant (



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