[gnumeric] Import regression lines from ODF as "Trend line" rather than "Regression curve".



commit 1aa95a0b8179ddbf240ff0835fbd1a1d20665831
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Mon Jun 13 01:11:12 2011 -0600

    Import regression lines from ODF as "Trend line" rather than "Regression curve".
    
    2011-06-13  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* openoffice-read.c (od_series_regression): use "Trend line"
    	rather than "Regression curve".

 plugins/openoffice/ChangeLog         |    5 +++++
 plugins/openoffice/openoffice-read.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 0f6e738..4b96e23 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-13  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* openoffice-read.c (od_series_regression): use "Trend line"
+	rather than "Regression curve".
+
 2011-06-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_write_regression_curve): new
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index f245a75..db5fcb9 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -6822,7 +6822,7 @@ od_series_regression (GsfXMLIn *xin, xmlChar const **attrs)
 		state->chart.regression = regression =
 			GOG_OBJECT (gog_trend_line_new_by_name (type_name));
 		regression = gog_object_add_by_name (GOG_OBJECT (state->chart.series),
-						     "Regression curve", regression);
+						     "Trend line", regression);
 		oo_prop_list_apply (chart_style->other_props, G_OBJECT (regression));
 
 		g_object_get (G_OBJECT (regression), "style", &style, NULL);



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