[gnumeric] remove unused argument from odf_write_drop_line



commit 75cb3b35d2393bd9146ec7573d3b6f7b2a5ce9c1
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jul 26 22:57:58 2011 -0600

    remove unused argument from odf_write_drop_line
    
    2011-07-26  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* openoffice-write.c (odf_write_drop_line): drop unused argument
    	and change all callers

 plugins/openoffice/ChangeLog          |    5 +++++
 plugins/openoffice/openoffice-write.c |   10 ++++------
 2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index d8bbea3..0a71fd8 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,10 @@
 2011-07-26  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* openoffice-write.c (odf_write_drop_line): drop unused argument
+	and change all callers
+
+2011-07-26  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* openoffice-write.c: use G_GNUC_UNUSED
 
 2011-07-26  Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index b4aaebe..a3b209e 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -5600,9 +5600,7 @@ odf_write_label_cell_address (GnmOOExport *state, GOData const *dat)
 }
 
 static void
-odf_write_drop_line (GnmOOExport *state, GogObject const *series, char const *drop,
-		     G_GNUC_UNUSED gboolean vertical)
-#warning FIXME: Without using the "vertical" argument, this cannot be right!
+odf_write_drop_line (GnmOOExport *state, GogObject const *series, char const *drop)
 {
 	GogObjectRole const *role = gog_object_find_role_by_name (series, drop);
 
@@ -5805,11 +5803,11 @@ odf_write_standard_series (GnmOOExport *state, GSList const *series)
 
 			if (state->with_extension) {
 				odf_write_drop_line (state, GOG_OBJECT (series->data),
-						     "Horizontal drop lines", FALSE);
+						     "Horizontal drop lines");
 				odf_write_drop_line (state, GOG_OBJECT (series->data),
-						     "Vertical drop lines", TRUE);
+						     "Vertical drop lines");
 				odf_write_drop_line (state, GOG_OBJECT (series->data),
-						     "Drop lines", TRUE);
+						     "Drop lines");
 			}
 			gsf_xml_out_end_element (state->xml); /* </chart:series> */
 		}



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