[gnumeric] whitespace



commit 3cf490715c26e7949f9941eb8534caaf0ccfd1f5
Author: Morten Welinder <terra gnome org>
Date:   Thu Jul 8 09:40:57 2010 -0400

    whitespace

 ChangeLog                                          |   20 ++--
 component/gnumeric.c                               |    2 +-
 configure.in                                       |    2 +-
 doc/C/ChangeLog                                    |   62 +++++++-------
 doc/ChangeLog                                      |    8 +-
 plugins/corba/ChangeLog                            |    2 +-
 plugins/excel/ChangeLog                            |    8 +-
 plugins/excel/ms-chart.c                           |   14 ++--
 plugins/excel/ms-excel-read.c                      |    2 +-
 plugins/fn-complex/ChangeLog                       |    4 +-
 plugins/fn-date/functions.c                        |   16 ++--
 plugins/fn-derivatives/plugin.xml.in               |    2 +-
 plugins/fn-eng/ChangeLog                           |    2 +-
 plugins/fn-financial/ChangeLog                     |    6 +-
 plugins/fn-hebrew-date/functions.c                 |    8 +-
 plugins/fn-info/ChangeLog                          |    6 +-
 plugins/fn-logical/ChangeLog                       |    2 +-
 plugins/fn-lookup/ChangeLog                        |    2 +-
 plugins/fn-lookup/functions.c                      |    4 +-
 plugins/fn-math/ChangeLog                          |   12 ++--
 plugins/fn-math/functions.c                        |    2 +-
 plugins/fn-numtheory/doc/ChangeLog                 |    2 +-
 plugins/fn-r/ChangeLog                             |    4 +-
 plugins/fn-r/extra.c                               |    8 +-
 plugins/fn-random/ChangeLog                        |   10 +-
 plugins/fn-string/ChangeLog                        |    8 +-
 plugins/fn-string/functions.c                      |    2 +-
 plugins/fn-tsa/ChangeLog                           |    2 +-
 plugins/html/ChangeLog                             |   18 ++--
 plugins/html/latex.c                               |    2 +-
 plugins/nlsolve/gnm-nlsolve.c                      |    2 +-
 plugins/openoffice/ChangeLog                       |   90 ++++++++++----------
 plugins/openoffice/openoffice-read.c               |   12 ++--
 plugins/openoffice/openoffice-write.c              |    4 +-
 plugins/psiconv/ChangeLog                          |    2 +-
 plugins/python-loader/ChangeLog                    |    6 +-
 plugins/xbase/ChangeLog                            |    2 +-
 po-functions/ChangeLog                             |    2 +-
 po/ChangeLog                                       |   22 +++---
 src/HILDON_Gnumeric-gtk.xml.in                     |    2 +-
 src/cmd-edit.c                                     |    4 +-
 src/commands.c                                     |   26 +++---
 src/dialogs/ChangeLog                              |    2 +-
 src/dialogs/dialog-advanced-filter.c               |    2 +-
 src/dialogs/dialog-analysis-tool-sign-test.c       |   10 +-
 .../dialog-analysis-tool-wilcoxon-mann-whitney.c   |    2 +-
 src/dialogs/dialog-analysis-tools.c                |    2 +-
 src/dialogs/dialog-cell-sort.c                     |   16 ++--
 src/dialogs/dialog-define-names.c                  |   46 +++++-----
 src/dialogs/dialog-doc-metadata.c                  |    8 +-
 src/dialogs/dialog-formula-guru.c                  |    8 +-
 src/dialogs/dialog-function-select.c               |   16 ++--
 src/dialogs/dialog-hyperlink.c                     |   30 +++---
 src/dialogs/dialog-paste-special.c                 |   30 +++---
 src/dialogs/dialog-preferences.c                   |    6 +-
 src/dialogs/dialog-random-generator-cor.c          |    4 +-
 src/dialogs/dialog-search-replace.c                |    6 +-
 src/dialogs/dialog-sheet-order.c                   |    2 +-
 src/dialogs/dialog-sheetobject-size.c              |   10 +-
 src/dialogs/dialog-workbook-attr.c                 |    6 +-
 src/expr-name.c                                    |    8 +-
 src/gnm-format.c                                   |    2 +-
 src/gui-util.c                                     |    2 +-
 src/mathfunc.c                                     |   10 +-
 src/print.c                                        |    2 +-
 src/ranges.c                                       |    2 +-
 src/sheet-control-gui.c                            |   22 +++---
 src/sheet-object.c                                 |    4 +-
 src/sheet-utils.c                                  |    2 +-
 src/sheet-view.c                                   |    2 +-
 src/sheet.c                                        |    8 +-
 src/sort.c                                         |    4 +-
 src/ssconvert.c                                    |    2 +-
 src/stf-parse.c                                    |    4 +-
 src/tools/analysis-auto-expression.c               |    6 +-
 src/tools/analysis-normality.c                     |    8 +-
 src/tools/analysis-principal-components.c          |    4 +-
 src/tools/analysis-sign-test.c                     |   12 ++--
 src/tools/analysis-signed-rank-test.c              |   12 ++--
 src/tools/analysis-tools.c                         |    6 +-
 src/tools/analysis-wilcoxon-mann-whitney.c         |   10 +-
 src/tools/auto-correct.c                           |    6 +-
 src/tools/filter.c                                 |    6 +-
 src/tools/gnm-solver.c                             |    2 +-
 src/tools/random-generator-cor.c                   |    6 +-
 src/validation.c                                   |    2 +-
 src/wbc-gtk-actions.c                              |   14 ++--
 src/wbc-gtk-edit.c                                 |   14 ++--
 src/wbc-gtk.c                                      |   12 ++--
 src/workbook-control.c                             |    2 +-
 src/workbook-control.h                             |    2 +-
 tools/ChangeLog                                    |    2 +-
 92 files changed, 411 insertions(+), 411 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5b6ddef..1383de7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,7 +25,7 @@
 	* src/wbc-gtk.c (wbcg_menu_state_update): handle hyperlink and comment 
 	  items
 	* src/workbook-control.h: new MS_* flags
-	
+
 2010-07-07  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions
@@ -152,7 +152,7 @@
 
 	* src/gnm-format.c (format_value_common): use go_string_replace
 	* src/func.c (gnm_func_convert_markup_to_pango): ditto
-	
+
 2010-06-30  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/cell-draw.c (cell_calc_layout): HALIGN_FILL overrides wrap_text
@@ -166,7 +166,7 @@
 
 	* src/stf-export.c (try_auto_float): new
 	(stf_export_cell): call try_auto_float
-	
+
 2010-06-30  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* schemas/gnumeric-dialogs.schemas.in: new preferences for
@@ -174,7 +174,7 @@
 	* src/gnumeric-gconf.c: add the items generated from the above 
 	  changes 
 	* src/gnumeric-gconf.h: ditto
-	
+
 2010-06-28  Morten Welinder <terra gnome org>
 
 	* configure.in: Post-release bump.
@@ -192,7 +192,7 @@
 	(sheet_range_set_markup_cb): new
 	* src/wbc-gtk-edit.c (wbcg_edit_finish): pass the amrkup also to
 	  cmd_area_set_text
-	
+
 2010-06-28  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/commands.c (CMD_AREA_SET_TEXT): deleted 
@@ -234,7 +234,7 @@
 	(cmd_area_set_array_expr): new
 	* src/wbc-gtk-edit.c (wbcg_edit_finish): check whether the range 
 	  is locked; call cmd_area_set_array_expr when appropriate
-	
+
 2010-06-25  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't hide a varaible by 
@@ -269,7 +269,7 @@
 	(undo_range_name): use gnm_cmd_trunc_descriptor
 	(range_list_name_try): change arguments, use gnm_cmd_trunc_descriptor
 	(undo_range_list_name): adjust to changes to range_list_name_try
-	
+
 2010-06-24  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't free memory until we
@@ -290,7 +290,7 @@
 	* src/stf-parse.c (stf_parse_options_new): handle new field
 	(stf_parse_options_free): handle new field
 	(stf_parse_sheet): autofit columns
-	
+
 2010-06-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/validation.h (validation_eval_range): new
@@ -302,7 +302,7 @@
 
 	* src/wbc-gtk-edit.c (wbcg_edit_finish): only call a cmd_...
 	  when we have validated.
-	
+
 2010-06-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/commands.c (make_undo_text): modify to use GString and
@@ -396,7 +396,7 @@
 	(wbc_gtk_create_edit_area): connect the above (for gtk 2.16+)
 	* src/workbook-control.h (wb_control_navigate_to_cell): new
 	* src/workbook-control.c (wb_control_navigate_to_cell): new
-	
+
 2010-06-15 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/func.h (tokenized_help_*): deleted
diff --git a/component/gnumeric.c b/component/gnumeric.c
index ab3142b..b225618 100644
--- a/component/gnumeric.c
+++ b/component/gnumeric.c
@@ -163,7 +163,7 @@ cb_gognm_save (GtkAction *a, WBCGtk *wbcg)
 		GOComponent *component = GO_COMPONENT (data);
 		go_component_emit_changed (component);
 	} else
-		gui_file_save (wbcg, wb_control_view (WORKBOOK_CONTROL (wbcg)));		
+		gui_file_save (wbcg, wb_control_view (WORKBOOK_CONTROL (wbcg)));
 }
 
 static GtkActionEntry const actions[] = {
diff --git a/configure.in b/configure.in
index c8e65a8..4f2c28d 100644
--- a/configure.in
+++ b/configure.in
@@ -977,7 +977,7 @@ Both the DocBook to ConTeXt and the DocBook to LaTeX conversion tool can be
 obtained from
 	http://dblatex.sourceforge.net/
 ])
-		exit 1	
+		exit 1
 	fi
 fi
 AM_CONDITIONAL(ENABLE_PDFDOCS, test x"$enable_pdfdocs" = xyes)
diff --git a/doc/C/ChangeLog b/doc/C/ChangeLog
index d7479b3..7d115d8 100644
--- a/doc/C/ChangeLog
+++ b/doc/C/ChangeLog
@@ -125,7 +125,7 @@
 	* figures/analysistools-kaplan-options.png: updated
 	* figures/analysistools-kaplan.png: updated
 	* analysis-statistical.xml: updated
-	
+
 2010-01-06 Andreas J. Guelzow <aguelzow pyrshep>
 
 	* figures/analysistools-outputoptions.png: updated
@@ -685,13 +685,13 @@
 	* figures/menu-context-object-order.png: Added.
 	* figures/menu-context-graph-order.png: Added.
 	* figures/Makefile.am: Support for above.
-	
+
 2004-11-22  Adrian Custer <acuster gnome org>
 
 	* NEWS Bugs, typos and other lower life forms.
 
 	* configuration-preferences.xml: change section.
-	
+
 2004-11-22  Adrian Custer <acuster gnome org>
 
 	* NEWS Redo three screenshots.
@@ -726,7 +726,7 @@
 
 	* NEWS Bump version to 1.4. Start edits of worksheet 
 	       chapter. Minor Edits.
-	
+
 	* gnumeric.xml: Change title, edit paragraph. 
 	                Change guilabel -> emphasis. 
 	* manual-usage.xml: Change title, edit paragraph.
@@ -920,7 +920,7 @@
 	                     'bookmarks' to 'bookmark folders'.
 	* files-saving.xml: Change 'location' to 'folder'. Change
 	                    'bookmarks' to 'bookmark folders'.
-	
+
 2004-10-01  Adrian Custer <acuster gnome org>
 
 	* NEWS: Doc Cleanup: Standardize the TODO comments.
@@ -953,7 +953,7 @@
 	* figures/pointer_hand_closed: Deleted
 	* figures/pointer_hand_open: Deleted
 	* figures/Makefile.am: remove the files above
-	
+
 2004-09-30  Adrian Custer <acuster gnome org>
 
 	* NEWS: Rewrite of the 'Text Import' section of the 'Working with
@@ -962,7 +962,7 @@
 	        are present. 
 
 	* gnumeric.xml: Add explicit encoding.
-	
+
 	* figures/textguru-import-panel1-withTags.png: Added
 	* figures/textguru-import-panel2a-withTags.png: Added
 	* figures/textguru-import-panel2b-withTags.png: Added
@@ -974,16 +974,16 @@
 	* figures/files-csv-import-ex5.png: Deleted
 	* figures/Makefile.am: Modified for files above. Major edits to
 	  sync with files in text and in figures/ directory.
-	
+
 	* files-formats.xml: misc edit. Add TODO comments.
 	* files-textopen.xml: Wrote.
-	
+
 	* graphics-plots.xml: Add a comment w/ stock/surface plot.
 	* analysis-solver.xml: Add a comment with sovler-05.png.
 	* gui-menus.xml: Change image for format and help menus.
 	* gui-toolbars.xml: Add hyperlink, scroll, spin, slide entries.
 	* printing.xml: Add fitonetoone button, dropped fit tall/wide.
-	
+
 2004-09-30  J.H.M. Dassen (Ray) <jdassen debian org>
 
 	* files-textopen.xml, files-saving.xml, graphics-plots.xml,
@@ -1024,16 +1024,16 @@
 	* figures/file-formats-import-list.png: Removed.
 	* figures/files-formats-list.png: Removed.
 	* figures/Makefile.am: Modified
-	
+
 	* files-opening.xml: Minor edits. Skeleton outline.
 	* files-saving.xml: Edits. Spell Check
 	* graphics-plots.xml: Typo.
-	
+
 2004-09-26  Adrian Custer <acuster gnome org>
 
 	* gnumeric.xml: Edit File chapter. Added files as entities.
 	* manual-usage.xml: Edit File chapter intro paragraph.
-	
+
 	* files-formats.xml: Added.
 	* files-textopen.xml: Added. Moved Text Import here.
 	* files-textsave.xml: Added. Moved Text Export here.
@@ -1042,7 +1042,7 @@
 	* files-autosave.xml: Deleted. Contents to config chapter.
 	* Makefile.am: Added and deleted files above.
 	* workbooks.xml: Added autosave section from files-autosave.xml.
-	
+
 	* files-overview.xml: Edits.
 	* files-formats.xml: Edits. Table and list of formats.
 	* files-opening.xml: Edits. How-to and list of formats.
@@ -1054,30 +1054,30 @@
 
 	* gnumeric.xml: Edit "More Help" chapter title.
 	* morehelp.xml: Edit section titles. Minor Edits.
-	
+
 2004-09-23  Adrian Custer <acuster gnome org>
 
 	* gnumeric.xml: Edit bugs chapter paragraph.
 	* manual-usage.xml: Edit bugs chapter paragraph.
 	* bugs.xml: Reorganize. Finish bugzilla instructions.
-	
+
 2004-09-22  Adrian Custer <acuster gnome org>
 
 	* graphics-plots.xml: close the note on line 4026.
-	
+
 2004-09-22  Adrian Custer <acuster gnome org>
 
 	* gnumeric.xml: Edits for the graphics chapter. Split 'widgets'.
 	* manual-usage.xml: Edit graph chapter paragraph.
 	* quick-start.xml: Edit the graphing section - changed end to
 	                   warning and moved to the begining.
-	
+
 	* graphics-overview.xml: First edits.
 	* figures/graphical-elements.png: New File.
 	* figures/graphical-elements-selected.png: New File.
 	* figures/graphical-elements-stacked.png: New File.
 	* figures/Makefile.am: Added filename above.
-	
+
 	* graphics-plots.xml: First edits.
 	* figures/graph-components.png: Added.
 	* figures/graph-hierarchy.png: Added.
@@ -1152,12 +1152,12 @@
 	* figures/graphguru-series-style-filled.png: Added.
 	* figures/graphguru-series-style-line.png: Added.
 	* figures/Makefile.am: Added files above.
-	
-	
-	
-	
+
+
+
+
 	* graphics-images.xml: Edits.
-	
+
 	* graphics-widgets.xml: Split from graphics-drawings.xml. Edits.
 	* Makefile.am: Added filename above.
 	* figures/widget-label.png: Added.
@@ -1173,7 +1173,7 @@
 	* figures/dialog-properties-checkbox.png: Added.
 	* figures/dialog-properties-scrollbar.png: Added.
 	* figures/Makefile.am: Added filenames above.
-	
+
 	* graphics-drawings.xml: Spit out the widgets. Edits.
 	* figures/drawing-line.png: Added.
 	* figures/drawing-arrow.png: Added.
@@ -1249,7 +1249,7 @@
 2004-05-15  Adrian Custer <acuster gnome org>
 
 	* quick-start.xml: some graphing info.
-	
+
 2004-03-28  Jody Goldberg <jody gnome org>
 
 	* Release 1.3.0
@@ -1365,7 +1365,7 @@
 
 	* configuration-preferences.xml: add text
 	* figures/Makefile.am: add new files
-	
+
 	for Sebastian Klost:
 	* figures/preferences-files.png: new
 	* figures/preferences-font-header.png: new
@@ -1416,12 +1416,12 @@
 	* figures/example-colGraph-modified.png: add.
 	* figures/menu-context-graph.png: add.
 	* figures/button-graphEditor-add.png: add.
-	
+
 2003-09-16 Adrian Custer <acuster gnome org>
 
 	* welcome.xml: Updated with release announcement info.
 	* data-entry-external.xml: replace a <code> tag with <literal>.
-	
+
 2003-09-15 Adrian Custer <acuster gnome org>
 
 	* welcome.xml: Updated.
@@ -1446,7 +1446,7 @@
 2003-09-12 Adrian Custer <acuster gnome org>
 
 	* quick-start.xml: Remove a false statement of mine.
-	
+
 2003-09-10  Jody Goldberg <jody gnome org>
 
 	* Release 1.1.90
@@ -1457,7 +1457,7 @@
 	* gnumeric.xml: Added Charles Twardy as contributor.
 	* welcome.xml: minor edits.
 	* quick-start.xml: removed a period.
-	
+
 2003-09-06 Adrian Custer <acuster gnome org>
 
 	* gnumeric.xml: Downgrade to Docbook 4.1.2.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 6dd6907..e516363 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -35,7 +35,7 @@
 	* make-func-list.pl (process_excel): new
 	(process_argumentdescription): new
 	(process_odf): new
-	
+
 2010-01-19  Morten Welinder <terra gnome org>
 
 	* Release 1.9.18
@@ -188,7 +188,7 @@
 	* C/figures/doc/C/figures/analysistools-smoothing-ex8.png: new
 	* C/figures/Makefile.am: add above files
 	* C/analysis-statistical.xml: Update explanations for exp smoothing
-	
+
 2008-10-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* C/figures/analysistools-smoothing.png
@@ -198,7 +198,7 @@
 	* C/figures/doc/C/figures/analysistools-smoothing-ex4.png: new
 	* C/figures/Makefile.am: add above files
 	* C/analysis-statistical.xml: Update example of exp smoothing
-	
+
 2008-10-08  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* C/analysis-statistical.xml: Corrections
@@ -512,7 +512,7 @@
 
 	for Thomas Miesbauer
 	* C/figures/*.png: redo screenshots for version 1.2
-	
+
 2003-09-15  Jody Goldberg <jody gnome org>
 
 	* Release 1.2.0
diff --git a/plugins/corba/ChangeLog b/plugins/corba/ChangeLog
index 207e119..9aefdcd 100644
--- a/plugins/corba/ChangeLog
+++ b/plugins/corba/ChangeLog
@@ -260,7 +260,7 @@
 2004-09-24  Jon K Hellan  <hellan acm org>
 
 	* TODO: New file. Tell about outstanding issues.
-	
+
 	* GNOME_Gnumeric.idl: Workbook doesn't nedd to inherit from Bonobo
 	after all.
 
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 2cc7817..b55289d 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -82,7 +82,7 @@
 
 	* xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
 	  rather than value_get_as_string. [#610372]
-	
+
 2010-02-13  Morten Welinder <terra gnome org>
 
 	* Release 1.10.0
@@ -388,11 +388,11 @@
 2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* xlsx-write.c (xlsx_write_cols): and don't commit debugging code
-	
+
 2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* xlsx-write.c (xlsx_write_cols): fix off-by-one error [#569862]
-	
+
 2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* xlsx-write.c (xlsx_write_sheet): write the tags in schema ordering
@@ -3121,7 +3121,7 @@
 2004-08-11  Jon K Hellan  <hellan acm org>
 
 	Export images.
-	
+
 	* Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]
 
 	* crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index 2552e53..e63fa5b 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -1358,19 +1358,19 @@ BC_R(lineformat)(XLChartHandler const *handle,
 	default: 
 	case 0:
 		s->style->line.dash_type = GO_LINE_SOLID;
-		break;	
+		break;
 	case 1:
 		s->style->line.dash_type = GO_LINE_DASH;
-		break;	
+		break;
 	case 2:
 		s->style->line.dash_type = GO_LINE_DOT;
-		break;	
+		break;
 	case 3:
 		s->style->line.dash_type = GO_LINE_DASH_DOT;
-		break;	
+		break;
 	case 4:
 		s->style->line.dash_type = GO_LINE_DASH_DOT_DOT;
-		break;	
+		break;
 	case 5:
 		s->style->line.dash_type = GO_LINE_NONE;
 		break;
@@ -1380,12 +1380,12 @@ BC_R(lineformat)(XLChartHandler const *handle,
 		s->style->line.dash_type = GO_LINE_SOLID;
 		s->style->line.pattern = GO_PATTERN_GREY25; /* or 75? */
 		s->style->line.fore = GO_COLOR_WHITE;
-		break;	
+		break;
 	case 7:
 		s->style->line.dash_type = GO_LINE_SOLID;
 		s->style->line.pattern = GO_PATTERN_GREY50;
 		s->style->line.fore = GO_COLOR_WHITE;
-		break;	
+		break;
 	case 8:
 		s->style->line.dash_type = GO_LINE_SOLID;
 		s->style->line.pattern = GO_PATTERN_GREY75; /* or 25? */
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index 6de1e1e..0789f21 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -618,7 +618,7 @@ ms_sheet_realize_obj (MSContainer *container, MSObj *obj)
 		style->fill.type = ms_obj_attr_bag_lookup (obj->attrs, MS_OBJ_ATTR_UNFILLED)
 			? GO_STYLE_FILL_NONE : GO_STYLE_FILL_PATTERN;
 		if (style->fill.type != GO_STYLE_FILL_PATTERN)
-			style->fill.auto_type = FALSE;				
+			style->fill.auto_type = FALSE;
 
 		g_object_set (G_OBJECT (so), "style", style, NULL);
 		g_object_unref (style);
diff --git a/plugins/fn-complex/ChangeLog b/plugins/fn-complex/ChangeLog
index aad19ef..de6b477 100644
--- a/plugins/fn-complex/ChangeLog
+++ b/plugins/fn-complex/ChangeLog
@@ -85,11 +85,11 @@
 2009-08-14  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_imcsch): fix name record
-	
+
 2009-06-30  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c: conversion to new function description
-	
+
 2009-06-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.9
diff --git a/plugins/fn-date/functions.c b/plugins/fn-date/functions.c
index 9018e2a..8edc752 100644
--- a/plugins/fn-date/functions.c
+++ b/plugins/fn-date/functions.c
@@ -861,7 +861,7 @@ gnumeric_workday (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 			int ds = idays / n_non_weekend * 7;
 
 			g_date_add_days (&date, ds);
-			
+
 			while (dm_part_week) {
 				g_date_add_days (&date, 1);
 				weekday = (weekday + 1) % 7;
@@ -898,9 +898,9 @@ gnumeric_workday (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 		while (idays > 0) {
 			int dm_part_week = idays % n_non_weekend;
 			int ds = idays / n_non_weekend * 7;
-			
+
 			g_date_subtract_days (&date, ds);
-			
+
 			while (dm_part_week) {
 				g_date_subtract_days (&date, 1);
 				weekday = (weekday > 0) ? (weekday - 1) 
@@ -908,7 +908,7 @@ gnumeric_workday (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 				if (!weekends[weekday])
 					dm_part_week--;
 			}
-			
+
 			serial = go_date_g_to_serial (&date, conv);
 			/*
 			 * we may have passed holidays.
@@ -1005,7 +1005,7 @@ gnumeric_networkdays (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 			end_serial--;
 		}
 	}
-	
+
 
 	weekday = g_date_get_weekday (&start_date);
 
@@ -1026,7 +1026,7 @@ gnumeric_networkdays (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 		weekends = (gnm_float *)default_weekends;
 		nweekends = 7;
 	}
-	
+
 	for (i = 0; i < 7; i++)
 		if (weekends[i] == 0)
 			n_non_weekend++;
@@ -1084,7 +1084,7 @@ gnumeric_networkdays (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 	/*
 	 * we may have included holidays.
 	 */
-	
+
 	while (h < nholidays && holidays[h] <= old_end_serial) {
 		if (holidays[h] >= old_start_serial)
 			res--;
@@ -1259,7 +1259,7 @@ gnumeric_days (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 	date2 = gnm_floor (value_get_as_float (argv [1]));
 
 	go_date_serial_to_g (&d1, date1, conv);
-	go_date_serial_to_g (&d2, date2, conv);	
+	go_date_serial_to_g (&d2, date2, conv);
 
 	return value_new_int (g_date_days_between (&d1, &d2));
 }
diff --git a/plugins/fn-derivatives/plugin.xml.in b/plugins/fn-derivatives/plugin.xml.in
index 75881f9..e4b4bbb 100644
--- a/plugins/fn-derivatives/plugin.xml.in
+++ b/plugins/fn-derivatives/plugin.xml.in
@@ -19,7 +19,7 @@
 				<function name="opt_bs_gamma"/>
 				<function name="opt_bs_vega"/>
 				<function name="opt_bs_carrycost"/>
-				<function name="opt_garman_kohlhagen"/>	
+				<function name="opt_garman_kohlhagen"/>
 				<function name="opt_french"/>
 				<function name="opt_jump_diff"/>
 				<function name="opt_bjer_stens"/>
diff --git a/plugins/fn-eng/ChangeLog b/plugins/fn-eng/ChangeLog
index 6321fcd..6b1848c 100644
--- a/plugins/fn-eng/ChangeLog
+++ b/plugins/fn-eng/ChangeLog
@@ -106,7 +106,7 @@
 2009-07-01  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c: conversion to new function description
-	
+
 2009-06-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.9
diff --git a/plugins/fn-financial/ChangeLog b/plugins/fn-financial/ChangeLog
index 716c3fe..cb9ca3b 100644
--- a/plugins/fn-financial/ChangeLog
+++ b/plugins/fn-financial/ChangeLog
@@ -58,7 +58,7 @@
 
 	* functions.c (help_npv): there does not seem to be 
 	  a type argument
-	
+
 2010-01-02  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_euroconvert): fix spelling
@@ -133,7 +133,7 @@
 
 	* functions.c (help_ddb): fix name record
 	(help_amorlinc): fix
-	
+
 2009-08-14  Morten Welinder  <terra gnome org>
 
 	* functions.c: Convert to new doc format.
@@ -523,7 +523,7 @@
 
 	* functions.c: spelling fixes
 	* plugin.xml.in: use `Finance'
-	
+
 2003-06-12  Jody Goldberg <jody gnome org>
 
 	* functions.c : docs fixes as per
diff --git a/plugins/fn-hebrew-date/functions.c b/plugins/fn-hebrew-date/functions.c
index 8b57847..23904dd 100644
--- a/plugins/fn-hebrew-date/functions.c
+++ b/plugins/fn-hebrew-date/functions.c
@@ -63,7 +63,7 @@ gnumeric_hdate_get_date (GnmValue const * const *arg, int *year, int *month, int
 		(int)g_date_get_month (&date);
 	*day = (arg[2]) ? value_get_as_int (arg[2]) :
 		g_date_get_day (&date);
-	
+
 	return;
 }
 
@@ -77,11 +77,11 @@ gnumeric_date_get_date (GnmFuncEvalInfo * ei, GnmValue const * const val,
 		g_date_set_time_t (&date, time (NULL));
 	else if (!datetime_value_to_g (&date, val, DATE_CONV (ei->pos)))
 		return value_new_error_NUM (ei->pos);
-		
+
 	*year = g_date_get_year (&date);
 	*month = g_date_get_month (&date);
 	*day = g_date_get_day (&date);
-	
+
 	return NULL;
 }
 
@@ -353,7 +353,7 @@ gnumeric_date2julian (GnmFuncEvalInfo * ei, GnmValue const * const *argv)
 	val = gnumeric_date_get_date (ei, argv[0], &year, &month, &day);
 	if (val != NULL)
 		return val;
-	
+
 	julian = hdate_gdate_to_jd (day, month, year);
 
 	return value_new_int (julian);
diff --git a/plugins/fn-info/ChangeLog b/plugins/fn-info/ChangeLog
index f18d68c..fba880c 100644
--- a/plugins/fn-info/ChangeLog
+++ b/plugins/fn-info/ChangeLog
@@ -52,7 +52,7 @@
 2009-12-30  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_expression): fix formatting
-	
+
 2009-12-15  Morten Welinder <terra gnome org>
 
 	* Release 1.9.17
@@ -100,7 +100,7 @@
 2009-08-14  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_error_type): fix name record
-	
+
 2009-07-5  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_*): change to new format
@@ -422,7 +422,7 @@
 2003-06-23  Andreas J. Guelzow <aguelzow taliesin ca>
 
 	* functions.c: spelling fixes
-	
+
 2003-06-13  Jody Goldberg <jody gnome org>
 
 	* functions.c (gnumeric_cell) : fix warning.
diff --git a/plugins/fn-logical/ChangeLog b/plugins/fn-logical/ChangeLog
index ff9e60f..91fe45a 100644
--- a/plugins/fn-logical/ChangeLog
+++ b/plugins/fn-logical/ChangeLog
@@ -324,7 +324,7 @@
 
 	* functions.c: spelling fixes
 	* plugin.xml.in: all functions are logical, use `logic'
-	
+
 2003-06-07  Jody Goldberg <jody gnome org>
 
 	* Release 1.1.19
diff --git a/plugins/fn-lookup/ChangeLog b/plugins/fn-lookup/ChangeLog
index 32a5182..e5114af 100644
--- a/plugins/fn-lookup/ChangeLog
+++ b/plugins/fn-lookup/ChangeLog
@@ -117,7 +117,7 @@
 2009-08-05  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_*): change to "new" documentation format
-	
+
 2009-06-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.9
diff --git a/plugins/fn-lookup/functions.c b/plugins/fn-lookup/functions.c
index d0bdf83..9d9c989 100644
--- a/plugins/fn-lookup/functions.c
+++ b/plugins/fn-lookup/functions.c
@@ -1572,7 +1572,7 @@ gnumeric_sheets (GnmFuncEvalInfo *ei, GnmValue const * const *args)
 
 			a = g_slist_index (workbook_sheets (wb), r->a.sheet);
 			b = g_slist_index (workbook_sheets (wb), r->b.sheet);
-			
+
 			ans_min = (a < b) ? a : b;
 			ans_max = (a < b) ? b : a;
 
@@ -1630,7 +1630,7 @@ gnumeric_sheet (GnmFuncEvalInfo *ei, GnmValue const * const *args)
 					(1 + g_slist_index (workbook_sheets (wb), 
 							    sheet));
 		} else
-			return value_new_error_VALUE (ei->pos);	
+			return value_new_error_VALUE (ei->pos);
 	} else
 		return value_new_int (1 + g_slist_index (workbook_sheets (wb), 
 							 ei->pos->sheet));
diff --git a/plugins/fn-math/ChangeLog b/plugins/fn-math/ChangeLog
index 2bb8c9c..5b7424a 100644
--- a/plugins/fn-math/ChangeLog
+++ b/plugins/fn-math/ChangeLog
@@ -123,7 +123,7 @@
 	* plugin.xml.in: add COMBINA and ARABIC
 	* functions.c (help_combina): new
 	(gnumeric_combina): new
-	(help_arabic): new	
+	(help_arabic): new
 	(gnumeric_arabic): new
 	(math_functions): add COMBINA and ARABIC
 
@@ -175,7 +175,7 @@
 	(help_sinh): fix
 	(help_tanh): fix name record
 	(help_round): fix name record
-	
+
 2009-08-14  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_*): change x:value to x:number throughout
@@ -188,11 +188,11 @@
 2009-06-30  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c: conversion to new function description
-	
+
 2009-06-29  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c: partial conversion to new function description
-	
+
 2009-06-21  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* plugin.xml.in: new csc, csh, sec, sech
@@ -472,7 +472,7 @@
 	(gnumeric_countif) : ditto.
 
 2005-02-11  Andreas J. Guelzow <aguelzow taliesin ca>
-	
+
 	* functions.c (help_rounddown): change documentation text
 	(help_roundup): change documentation text
 	(gnumeric_rounddown): change handling of negative numbers to make
@@ -632,7 +632,7 @@
 
 	* functions.c: spelling fixes
 	* plugin.xml.in: trig is part of math
-	
+
 2003-06-07  Jody Goldberg <jody gnome org>
 
 	* Release 1.1.19
diff --git a/plugins/fn-math/functions.c b/plugins/fn-math/functions.c
index 33d344e..8058115 100644
--- a/plugins/fn-math/functions.c
+++ b/plugins/fn-math/functions.c
@@ -3094,7 +3094,7 @@ gnumeric_eigen (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 				free_matrix (matrix, cols, rows);
 				return value_new_error_NUM (ei->pos);
 			}
-	
+
 	eigenvectors = new_matrix (rows, cols);
 	eigenvalues = g_new0 (gnm_float, cols);
 
diff --git a/plugins/fn-numtheory/doc/ChangeLog b/plugins/fn-numtheory/doc/ChangeLog
index 312768f..b3c2fa0 100644
--- a/plugins/fn-numtheory/doc/ChangeLog
+++ b/plugins/fn-numtheory/doc/ChangeLog
@@ -392,7 +392,7 @@
 	* C/number_theory: I added this directory.  This is where the function files go.
 
 	* C/number_theory/*xml: I added all these files.  These are the XML files that are called from the funct_ref.xml file.
-	
+
 	* C/funct-ref.xml: I hacked this file a bit.  I'm going to split this into individual files shortly.
 
 	* C/funct-ref.xml: Added this file to CVS.  It's going to be a test bed for our exciting new documentation platform for Gnome 2.
diff --git a/plugins/fn-r/ChangeLog b/plugins/fn-r/ChangeLog
index cedfa7e..bfb19a2 100644
--- a/plugins/fn-r/ChangeLog
+++ b/plugins/fn-r/ChangeLog
@@ -58,14 +58,14 @@
 
 	* generate: handle *snorm and *st
 	* extra.h (dsnorm): new
-	(psnorm): new	
+	(psnorm): new
 	(qsnorm): new
 	(dst): new
 	(pst): new
 	(qst): new
 	* extra.c (dsnorm): new
 	(gnm_owent): new
-	(psnorm): new	
+	(psnorm): new
 	(qsnorm): new stub
 	(dst): new stub
 	(pst): new stub
diff --git a/plugins/fn-r/extra.c b/plugins/fn-r/extra.c
index d0604a2..3bf04c6 100644
--- a/plugins/fn-r/extra.c
+++ b/plugins/fn-r/extra.c
@@ -91,11 +91,11 @@ gnm_owent (gnm_float h, gnm_float a)
 
 	if (fabs(h) < LIM1) return atan(a) * TWOPI_INVERSE;
 	if (fabs(h) > LIM2 || fabs(a) < LIM1) return 0.0;
-	
+
 	hs = -0.5 * h * h;
 	h2 = a;
 	as = a * a;
-	
+
 	if (log(1.0 + as) - hs * as >= LIM3)
 	{
 		gnm_float h1 = 0.5 * a;
@@ -110,7 +110,7 @@ gnm_owent (gnm_float h, gnm_float a)
 			h1 = h2;
 		}
 	}
-		
+
 	rt = 0.0;
 	for (i = 0; i < 10; i++)
 	{
@@ -149,7 +149,7 @@ psnorm (gnm_float x, gnm_float shape, gnm_float location, gnm_float scale, gbool
 
 	if (shape == 0.) 
 		return pnorm (x, location, scale, lower_tail, log_p);
-	
+
 	result = pnorm (x, location, scale, TRUE, FALSE) - 2 * gnm_owent ((x - location)/scale, shape);
 
 	if (!lower_tail)
diff --git a/plugins/fn-random/ChangeLog b/plugins/fn-random/ChangeLog
index 6fa1ec1..5f1f0b2 100644
--- a/plugins/fn-random/ChangeLog
+++ b/plugins/fn-random/ChangeLog
@@ -93,11 +93,11 @@
 
 	* functions.c (functions.c): remove remains of description
 	  conversion
-	
+
 2009-07-03  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c: conversion to new function description
-	
+
 2009-06-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.9
@@ -332,7 +332,7 @@
 2003-07-16  Andreas J. Guelzow <aguelzow taliesin ca>
 
 	* function.c: fix randuniform docs ever so slightly
-	
+
 2003-07-16  Jody Goldberg <jody gnome org>
 
 	http://bugzilla.gnome.org/show_bug.cgi?id=115812
@@ -351,11 +351,11 @@
 2003-06-26  Andreas J. Guelzow <aguelzow taliesin ca>
 
 	* plugin.xml.in: Change to `Random Numbers' category
-	
+
 2003-06-23  Andreas J. Guelzow <aguelzow taliesin ca>
 
 	* functions.c: spelling fixes
-	
+
 2003-06-07  Jody Goldberg <jody gnome org>
 
 	* Release 1.1.19
diff --git a/plugins/fn-string/ChangeLog b/plugins/fn-string/ChangeLog
index 45d28bd..a0306ab 100644
--- a/plugins/fn-string/ChangeLog
+++ b/plugins/fn-string/ChangeLog
@@ -83,21 +83,21 @@
 	(gnumeric_searchb): new
 	(string_functions): add SEARCHB
 	* plugin.xml.in: add SEARCHB
-	
+
 2009-08-23 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_replaceb): new
 	(gnumeric_replaceb): new
 	(string_functions): add REPLACEB
 	* plugin.xml.in: add REPLACEB
-	
+
 2009-08-17 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* functions.c (help_findb): new
 	(gnumeric_findb): new
 	(string_functions): add FINDB
 	* plugin.xml.in: add FINDB
-	
+
 2009-08-15  Morten Welinder <terra gnome org>
 
 	* Release 1.9.10
@@ -140,7 +140,7 @@
 	(help_asc): update
 	(gnm_asc_half): new
 	(gnumeric_asc): implement
-	
+
 2009-06-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.9
diff --git a/plugins/fn-string/functions.c b/plugins/fn-string/functions.c
index 51edbcb..6616f13 100644
--- a/plugins/fn-string/functions.c
+++ b/plugins/fn-string/functions.c
@@ -1064,7 +1064,7 @@ gnumeric_numbervalue (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 	if (strlen(sep) != 1 || (*sep != '.' && *sep != ',')) {
 		return value_new_error_VALUE (ei->pos);
 	}
-	
+
 	if (VALUE_IS_EMPTY (argv[0]) || VALUE_IS_NUMBER (argv[0]))
 		return value_dup (argv[0]);
 	else {
diff --git a/plugins/fn-tsa/ChangeLog b/plugins/fn-tsa/ChangeLog
index b25802b..47a595c 100644
--- a/plugins/fn-tsa/ChangeLog
+++ b/plugins/fn-tsa/ChangeLog
@@ -112,7 +112,7 @@
 	(gnumeric_fourier): new
 	(TimeSeriesAnalysis_functions): added fourier function
 	* plugin.xml.in: added fourier function
-	
+
 2009-05-23  Morten Welinder <terra gnome org>
 
 	* Release 1.9.8
diff --git a/plugins/html/ChangeLog b/plugins/html/ChangeLog
index 704e357..e72f23b 100644
--- a/plugins/html/ChangeLog
+++ b/plugins/html/ChangeLog
@@ -139,12 +139,12 @@
 
 	* html.c (html_write_cell_content): make sure there is 
 	  markup before asking for it.
-	
+
 2009-05-13  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* html.c (html_write_cell_content): remember that not 
 	every string has markup
-	
+
 2009-05-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* html.c (cb_html_add_chars): new
@@ -154,7 +154,7 @@
 	  appropriate
 	(write_cell): don't collapse XHTML and HTML4
 	(html_file_save): update DOCTYPEs
-	
+
 2009-05-06  Morten Welinder <terra gnome org>
 
 	* Release 1.9.7
@@ -168,12 +168,12 @@
 	* Release 1.9.5
 
 2009-03-04  Andreas J. Guelzow <aguelzow pyrshep ca>
-	
+
 	* latex.c (latex_file_save): the previous correction used an 
 	  inverted comparison.
 
 2009-03-04  Andreas J. Guelzow <aguelzow pyrshep ca>
-	
+
 	* latex.c (latex_file_save): don't access styles for cells 
 	  beyond the sheet! Fixes 574125
 
@@ -305,7 +305,7 @@
 	(latex2e_table_write_cell): new
 	(latex2e_table_write_file_header): new
 	* plugin.xml.in: add latex_table file_saver
-	
+
 2006-06-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* latex.c (latex_fputs_latin): fix typo and add
@@ -360,7 +360,7 @@
 	http://bugzilla.gnome.org/show_bug.cgi?id=325656
 	* latex.c (latex_fputs_latin) use "-" as replacement for unicode
 	(latex_math_fputs_latin): ditto
-	
+
 2006-01-04  Jon K Hellan  <hellan acm org>
 
 	* html_read.c (html_append_text): Handle whitespace in a unicode
@@ -481,7 +481,7 @@
 
 	http://bugzilla.gnome.org/show_bug.cgi?id=142219
 	* latex.c (latex2e_find_vline) : Undo last patch.
-	
+
 2004-04-02  Jody Goldberg <jody gnome org>
 
 	http://bugzilla.gnome.org/show_bug.cgi?id=100372
@@ -537,7 +537,7 @@
 2003-06-30  Jon K Hellan  <hellan acm org>
 
 	* html_read.c: See yesterday. Now actually commit it.
-	
+
 	* html.c: Revert accidental commit.
 
 2003-06-29  Jon K Hellan  <hellan acm org>
diff --git a/plugins/html/latex.c b/plugins/html/latex.c
index 5881a29..2435fef 100644
--- a/plugins/html/latex.c
+++ b/plugins/html/latex.c
@@ -800,7 +800,7 @@ latex2e_write_blank_multicolumn_cell (GsfOutput *output, int start_col, int star
 				gsf_output_printf (output, "\t \\addtolength{\\gnumericMultiRowLength}{\\tabcolsep}%%\n");
 		}
 		gsf_output_printf (output, "\t \\multirow{%i}[%i]{\\gnumericMultiRowLength}{%%\n\t ", num_merged_rows, num_merged_rows/2);
-		
+
 		/* Close the multirowtext. */
 		gsf_output_printf (output, "}");
 	}
diff --git a/plugins/nlsolve/gnm-nlsolve.c b/plugins/nlsolve/gnm-nlsolve.c
index cad015d..1e0b8e8 100644
--- a/plugins/nlsolve/gnm-nlsolve.c
+++ b/plugins/nlsolve/gnm-nlsolve.c
@@ -235,7 +235,7 @@ compute_gradient (GnmNlsolve *nl, const gnm_float *xs)
 
 	set_vector (nl, xs);
 	y0 = get_value (nl);
-	
+
 	g = g_new (gnm_float, n);
 	for (i = 0; i < n; i++) {
 		gnm_float x0 = xs[i];
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 228dab9..709c042 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -126,7 +126,7 @@
 2010-01-22  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_plot_area): remove some unnecessary code
-	
+
 2010-01-21  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_plot_area): handle OO_PLOT_XYZ_SURFACE like
@@ -167,7 +167,7 @@
 	(odf_write_link_end): new
 	(odf_write_cell): write link
 	(odf_write_content_rows): cells with links need to be written
-	
+
 2009-11-29  Morten Welinder <terra gnome org>
 
 	* Release 1.9.16
@@ -222,7 +222,7 @@
 
 	* openoffice-read.c (oo_func_map_in): we now have ISFORMULA
 	* openoffice-write.c (odf_expr_func_handler): ditto
-	
+
 2009-10-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_func_map_in): add EASTERSUNDAY
@@ -245,7 +245,7 @@
 
 	* openoffice-read.c (opendoc_content_dtd): add element stubs
 	(styles_dtd): ditto
-	
+
 2009-09-20  Morten Welinder <terra gnome org>
 
 	* Release 1.9.13
@@ -272,7 +272,7 @@
 	(oo_plot_area): use XLSurfacePlot in case of multiseries
 	* openoffice-write.c (odf_write_xl_surface_chart_style): new
 	(odf_write_plot): handle XLSurfacePlot
-	
+
 2009-09-03  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_graph_get_series): make sure texpr is non-NULL
@@ -308,7 +308,7 @@
 	  and MUNIT
 	* openoffice-write.c (odf_expr_func_handler): we now have
 	  RRI and MUNIT
-	
+
 2009-08-24  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_func_map_in): map PDURATION to
@@ -321,7 +321,7 @@
 	* openoffice-read.c (odf_func_gauss_handler): use ERF
 	(oo_func_map_in): map GAUSS to ODF.GAUSS if it has more than one
 	  argument
-	
+
 2009-08-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_func_gauss_handler): new
@@ -350,7 +350,7 @@
 	  PERMUTATIONA
 	* openoffice-write.c (odf_expr_func_handler): we now have 
 	  GAMMA and PERMUTATIONA
-	
+
 2009-08-17 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_expr_func_handler): we now have a
@@ -471,7 +471,7 @@
 
 	* openoffice-read.c (od_draw_frame): use table:end-x and 
 	  table:end-y together with table:end-cell-address if provided
-	
+
 2009-07-12 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_chart_axis): use more of the 
@@ -509,7 +509,7 @@
 	  construction here
 	(odf_write_graph_content): from here and
 	(odf_write_plot): from here, so that we write styles here
-	
+
 2009-07-10 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_write_series): new
@@ -526,7 +526,7 @@
 	(odf_write_graphs): call odf_write_graph_content and 
 	  write image of graph to image file
 	(openoffice_file_save_real): create Pictures directory
-	
+
 2009-07-09 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_strip_brackets): new
@@ -610,7 +610,7 @@
 	  write referenced styles before referencing styles.
 	(openoffice_file_save_real): handle new hashes and make sure
 	  styles referenced by the default cell style will be written
-	
+
 2009-06-25 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_write_style_cell_properties):
@@ -629,7 +629,7 @@
 	* openoffice-read.c
 	(odf_annotation_content_end): remove debug output
 	(odf_annotation_author_end): ditto
-	
+
 2009-06-24 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_scientific): handle gnm:engineering
@@ -648,7 +648,7 @@
 	* openoffice-read.c (odf_style_map_load_two_values): new
 	(oo_style_map): handle cell-content-is-between and try to
 	  handle cell-content-is-not-between
-	
+
 2009-06-23 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_table_end): keep the styles also
@@ -673,7 +673,7 @@
 	(oo_date_seconds): ditto
 	(oo_date_style_end): ditto
 	(oo_date_style_end_rm_elapsed): new
-	
+
 2009-06-23 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_currency_symbol_end): mark the 
@@ -683,7 +683,7 @@
 
 	* openoffice-write.c (xl_find_format): We may not use '+' inside a 
 	  style name.
-	
+
 2009-06-21 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_func_map_in): we now have JIS
@@ -721,18 +721,18 @@
 	* openoffice-write.c (odf_func_ceiling_handler):  rename to
 	  odf_func_floor_ceiling_handler and change all callers
 	(odf_expr_func_handler): hook up handler for FLOOR
-	
+
 2009-06-19 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_func_ceiling_handler): fix logic
-	
+
 2009-06-19 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_func_ceiling_handler): new
 	(oo_func_map_in): hook up the above handler
 	* openoffice-write.c (odf_func_ceiling_handler): new
 	(odf_expr_func_handler): hook up the above handler
-	
+
 2009-06-18 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_func_chisqdist_handler): new
@@ -740,7 +740,7 @@
 	* openoffice-write.c (odf_func_r_dchisq_handler): new
 	(odf_func_r_pchisq_handler): new
 	(sc_func_handlers): hook up the above
-	
+
 2009-06-18 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_func_r_qchisq_handler): new
@@ -755,7 +755,7 @@
 	* openoffice-write.c (xl_find_format): use easier to follow style 
 	  names 
 	(odf_write_styles): write styles in a more natural order
-	
+
 2009-06-17 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (h_alignments): include right and left
@@ -861,27 +861,27 @@
 	* openoffice-read.c (oo_cell_content_end): Since we may be 
 	  assigning the result of an array calculation we should not 
 	  check for array splits.
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_number_style_end): shorten code and
 	  distinguish <> from <
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_cell_start): fix style leak
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_cell_start): set a default date or
 	  time format if the incoming data is marked that way.
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (attr_eq_ncase): new
 	(odf_number_color): new
 	(styles_dtd): hook-up odf_number_color
-	(opendoc_content_dtd): ditto	
+	(opendoc_content_dtd): ditto
 
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
@@ -904,12 +904,12 @@
 
 	* openoffice-read.c (oo_style_prop_cell): Use an older PANGO_WEIGHT
 	for cutoff (which is equivalent).
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_style_prop_cell): Also check font weight
 	  rather than just descriptors.
-	
+
 2009-06-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_map): new
@@ -918,7 +918,7 @@
 	(odf_number_style_end): handle conditional number formats
 	(styles_dtd): hook-up odf_map
 	(opendoc_content_dtd): ditto
-	
+
 2009-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_number): default minimum integer digits 
@@ -927,7 +927,7 @@
 	(odf_currency_symbol_end): handle currency symbols
 	(styles_dtd): hook-up the above
 	(opendoc_content_dtd): ditto
-	
+
 2009-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (odf_number): new
@@ -949,13 +949,13 @@
 	(odf_number_style_end): new
 	(styles_dtd): hook-up the above
 	(opendoc_content_dtd): ditto
-	
+
 2009-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (oo_date_hours): handle elapsed time
 	(oo_date_minutes): ditto
 	(oo_date_seconds): ditto
-	
+
 2009-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_print_spreadsheet_content_prelude):
@@ -1008,7 +1008,7 @@
 	  but the conditional formats
 	(odf_write_data_styles): deleted
 	(odf_write_styles): call g_hash_table_foreach directly
-	
+
 2009-05-26  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (xl_find_format): if the format is not simple 
@@ -1019,7 +1019,7 @@
 	(odf_write_settings): ditto
 	(odf_write_conditional_style): new
 	(odf_write_this_xl_style): use odf_write_conditional_style
-	
+
 2009-05-26  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c: replace xl_styles GSList with a GHashTable
@@ -1075,7 +1075,7 @@
 	(odf_write_time_style): new
 	(odf_write_number_style): new stub
 	(openoffice_file_save): initialize and clear state.xl_styles
-	
+
 2009-05-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_new_markup): watch for strange starting
@@ -1095,13 +1095,13 @@
 	(odf_write_style_cell_properties): new
 	(odf_write_style_paragraph_properties): new
 	(odf_write_style_text_properties): new
-	
+
 2009-05-23  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_add_angle): new
 	(odf_write_style): handled wrapped text, shrink-to-fit, text direction,
 	  and rotation
-	
+
 2009-05-22  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_print_spreadsheet_content_prelude): add
@@ -1125,7 +1125,7 @@
 	(odf_compare_style): use equal_style
 	(odf_write_sheet): use equal_style
 	(odf_write_meta): set generator string
-	
+
 2009-05-19  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (gnm_xml_out_add_hex_color): make our background 
@@ -1139,7 +1139,7 @@
 	  cells
 	(odf_write_sheet): we cannot bundle all empty cells but need to
 	  watch for format changes
-	
+
 2009-05-18  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (GnmOOExport): added field
@@ -1193,7 +1193,7 @@
 	* openoffice-write.c (odf_find_style): make sure that we would 
 	  correctly handle the case that we are trying to find a style we
 	  did not write.
-	
+
 2009-05-16  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (oo_set_gnm_border): new
@@ -1238,7 +1238,7 @@
 
 	* openoffice-write.c (odf_write_cell): watch for empty rendered 
 	  strings
-	
+
 2009-05-15  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (gnm_xml_out_add_hex_color): new
@@ -1261,7 +1261,7 @@
 
 	* openoffice-read.c (opendoc_content_dtd): add text:line-break and 
 	  a second insertion of text:s
-	
+
 2009-05-13  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (cb_odf_add_chars): deleted
@@ -1280,7 +1280,7 @@
 2009-05-13  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (odf_write_cell): also write unformatted text
-	
+
 2009-05-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (opendoc_content_dtd): permit nested text:span
@@ -1311,7 +1311,7 @@
 
 	* openoffice-read.c (opendoc_content_dtd): TABLE_ROW can also be contained 
 	  in TABLE_ROWS
-	
+
 2009-05-10  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-read.c (OOParseState): use an array of conventions
@@ -1798,7 +1798,7 @@
 	  know why openoffice doesn't like it.
 	(openoffice_file_save): initialize GnmExprConventions in 
 	  GnmOOExport
-	
+
 2006-06-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* openoffice-write.c (od_write_empty_cell): don't write 
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 62999e2..9476648 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -1274,7 +1274,7 @@ oo_cell_start (GsfXMLIn *xin, xmlChar const **attrs)
 		return;
 	}
 
-	
+
 
 	merge_cols = MIN (merge_cols, max_cols - state->pos.eval.col);
 	merge_rows = MIN (merge_rows, max_rows - state->pos.eval.row);
@@ -1289,7 +1289,7 @@ oo_cell_start (GsfXMLIn *xin, xmlChar const **attrs)
 
 		if (style == NULL) {
 			style = g_hash_table_lookup (state->styles.cell, style_name);
-			
+
 			if (((style != NULL) || (state->ver == OOO_VER_1))
 			    && (has_datetime || has_date || has_time)) {
 				if ((style == NULL) ||
@@ -1309,14 +1309,14 @@ oo_cell_start (GsfXMLIn *xin, xmlChar const **attrs)
 						format = go_format_default_time ();
 						g_hash_table_replace (state->styles.cell_time,
 								      g_strdup (style_name), style);
-					}	
+					}
 					gnm_style_set_format (style, format);
 				}
 			}
 		}
 		if (style != NULL)
 			gnm_style_ref (style);
-		
+
 		g_free (style_name);
 	}
 
@@ -3113,7 +3113,7 @@ static void
 oo_db_range_end (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
 {
 	OOParseState *state = (OOParseState *)xin->user_state;
-	
+
 	if (state->filter != NULL) {
 		gnm_filter_reapply (state->filter);
 		state->filter = NULL;
@@ -3591,7 +3591,7 @@ oo_plot_assign_dim (GsfXMLIn *xin, xmlChar const *range, int dim_type, char cons
 			state->chart.src_label.end.row = ++state->chart.src_label.start.row;
 		else
 			state->chart.src_label.end.col = ++state->chart.src_label.start.col;
-		
+
 	}
 }
 
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index ae864b4..7a15e4a 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -2423,12 +2423,12 @@ odf_write_cell (GnmOOExport *state, GnmCell *cell, GnmRange const *merge_range,
 				g_free (str);
 			} else {
 				GString *str = g_string_new (NULL);
-				
+
 				gsf_xml_out_add_cstr_unchecked (state->xml,
 								OFFICE "value-type", "float");
 				value_get_as_gstring (cell->value, str, state->conv);
 				gsf_xml_out_add_cstr (state->xml, OFFICE "value", str->str);
-				
+
 				g_string_free (str, TRUE);
 			}
 			break;
diff --git a/plugins/psiconv/ChangeLog b/plugins/psiconv/ChangeLog
index 63bb0b7..5bbe685 100644
--- a/plugins/psiconv/ChangeLog
+++ b/plugins/psiconv/ChangeLog
@@ -304,7 +304,7 @@
 	take input from libgsf.
 	(psiconv_read, psiconv_read_header): Updates to recent psiconv and
 	cleanups.
-	
+
 2004-07-19  Jody Goldberg <jody gnome org>
 
 	* Release 1.3.1
diff --git a/plugins/python-loader/ChangeLog b/plugins/python-loader/ChangeLog
index d4e8dc5..5ec86e7 100644
--- a/plugins/python-loader/ChangeLog
+++ b/plugins/python-loader/ChangeLog
@@ -484,7 +484,7 @@
 	gnm_py_interpreter_selector_new.
 
 	* gnm-python.[ch] (gnm_python_object_get): Report errors.
-	
+
 	* gnm-python.c (gnm_init_pygobject): Resurrect. This time ask for
 	the gtk2 version of gobject and report errors.
 	(gnm_python_object_get): Remove Python 1.5 compatibility code. Call
@@ -494,11 +494,11 @@
 
 	* py-gnumeric.c (py_Workbook_object_getattr): Reverse accidental
 	commit. 
-	
+
 2003-07-25  Jon K Hellan  <hellan acm org>
 
 	* py-gnumeric.[ch]: Make most stuff static.
-	
+
 	* py-gnumeric.c: Rename convert_python_exception_to_gnumeric_value
 	py_exc_to_gnm_value, convert_python_exception_to_string to
 	py_exc_to_string, convert_python_to_gnumeric_value, to
diff --git a/plugins/xbase/ChangeLog b/plugins/xbase/ChangeLog
index 2fdb2f3..3cc1f1a 100644
--- a/plugins/xbase/ChangeLog
+++ b/plugins/xbase/ChangeLog
@@ -206,7 +206,7 @@
 
 	* pboot.c: replaced gi18n.h by gi18n-lib.h.
 	* xbase.c: ditto.
-	
+
 2006-05-08  Jody Goldberg <jody gnome org>
 
 	* Release 1.7.0
diff --git a/po-functions/ChangeLog b/po-functions/ChangeLog
index c461ed7..9b6c9ec 100644
--- a/po-functions/ChangeLog
+++ b/po-functions/ChangeLog
@@ -10,7 +10,7 @@
 
 	* POTFILES.in: removed src/dialogs/dialog-paste-names.c
 	* POTFILES.skip : removed src/dialogs/paste-names.glade
-	
+
 2010-05-31 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* POTFILES.in: added src/tools/analysis-signed-rank-test.c
diff --git a/po/ChangeLog b/po/ChangeLog
index d315656..2e3489f 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -14,7 +14,7 @@
 
 	* POTFILES.in: removed src/dialogs/dialog-paste-names.c and 
 	  src/dialogs/paste-names.glade
-	
+
 2010-05-31 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* POTFILES.in: added src/tools/analysis-signed-rank-test.c
@@ -28,7 +28,7 @@
 	* POTFILES.in: added wilcoxon-mann-whitney.glade,
 	  dialog-analysis-tool-wilcoxon-mann-whitney.c and
 	  analysis-wilcoxon-mann-whitney.c
-	
+
 2010-05-20  Morten Welinder <terra gnome org>
 
 	* Release 1.10.4
@@ -251,7 +251,7 @@
 
 	* POTFILES.in: added  src/tools/analysis-kaplan-meier.c and
 	  src/dialogs/dialog-analysis-tool-kaplan-meier.c
-	
+
 2008-10-12  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* POTFILES.in: added src/tools/analysis-frequency.c and 
@@ -907,7 +907,7 @@
 
 	* id.po: Added Indonesian translation, done by Imam Musthaqim
 			<imam infoflow co id>
-			
+
 2006-03-04  Francisco Javier F. Serrador  <serrador cvs gnome org>
 
 	* es.po: Updated Spanish translation.
@@ -1375,7 +1375,7 @@
 2005-05-27  Jan Morén  <jan moren lucs lu se>
 
 	* sv.po: Updated Swedish translation.
-	
+
 2005-05-26  Adam Weinberger  <adamw gnome org>
 
 	* en_CA.po: Updated Canadian English translation.
@@ -2016,7 +2016,7 @@
 2004-10-18  Yukihiro Nakai  <nakai gnome gr jp>
 
 	* ja.po: Update Japanese translation for #155644
-	
+
 2004-10-17  David Lodge <dave cirt net>
 
 	* en_GB.po: Updated British English translation.
@@ -2404,7 +2404,7 @@
 	* ja.po: Fixed format specyfications (gettext 0.14.x is more strict
 	  on some kind of bugs) by s#%s#%2$s# and s#%d#%1$d#
 	  ja.po:26393: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same
-	  Mark entry as fuzzy.	
+	  Mark entry as fuzzy.
 
 2004-02-05  Kostas Papadimas <pkst gnome org>
 
@@ -2936,7 +2936,7 @@
 	the encoding used inside the files. Old intltool releases
 	should work without problems, but if you detect any error, please
 	send me an email.
-	
+
 2003-08-04  Andreas Guelzow <aguelzow taliesin ca>
 
 	* POTFILES.in: Added src/session.c
@@ -2966,7 +2966,7 @@
 2003-08-04  Andreas Guelzow <aguelzow taliesin ca>
 
 	* POTFILES.in: Added tools/tabulate.c
-	
+
 2003-08-02  Miloslav Trmac  <mitr volny cz>
 
 	* cs.po: Updated Czech translation.
@@ -3436,7 +3436,7 @@
 2003-05-14  Andreas J. Guelzow <aguelzow taliesin ca>
 
 	* de.po: Updated German translation
-	
+
 2003-05-14  Jan Mor?�©n  <jan moren lucs lu se>
 
 	* sv.po: Updated Swedish translation.
@@ -3642,7 +3642,7 @@
 2003-02-03  Daniel Yacob  <locales geez org>
 
 	* am.po: Updated Amharic translation.
-	
+
 2003-02-02  German Poo-Caaman~o  <gpoo ubiobio cl>
 
 	* es.po: Updates Spanish translation from
diff --git a/src/HILDON_Gnumeric-gtk.xml.in b/src/HILDON_Gnumeric-gtk.xml.in
index 8ef322c..2a768ce 100644
--- a/src/HILDON_Gnumeric-gtk.xml.in
+++ b/src/HILDON_Gnumeric-gtk.xml.in
@@ -47,7 +47,7 @@
           <menuitem action="RandomGeneratorCorrelated"/>
         </menu>
         <menuitem action="CopyDown"/>
-        <menuitem action="CopyRight"/>	
+        <menuitem action="CopyRight"/>
       </menu>
       <menu name="Clear" action="MenuEditClear">
         <menuitem action="EditClearAll"/>
diff --git a/src/cmd-edit.c b/src/cmd-edit.c
index cd7bb7d..5b2b126 100644
--- a/src/cmd-edit.c
+++ b/src/cmd-edit.c
@@ -412,7 +412,7 @@ cmd_shift_rows (WorkbookControl *wbc, Sheet *sheet,
 					      _("Inserting these cells would push data off the sheet. "
 						"Please enlarge the sheet first."));
 			return;
-		}		
+		}
 		rinfo.origin.end.col -= count;
 	}
 
@@ -461,7 +461,7 @@ cmd_shift_cols (WorkbookControl *wbc, Sheet *sheet,
 					      _("Inserting these cells would push data off the sheet. "
 						"Please enlarge the sheet first."));
 			return;
-		}		
+		}
 		rinfo.origin.end.row -= count;
 	}
 
diff --git a/src/commands.c b/src/commands.c
index 8050b34..5f5c535 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -157,12 +157,12 @@ gnm_cmd_trunc_descriptor (GString *src, gboolean *truncated)
 	while ((pos = strchr(src->str, '\n')) != NULL ||
 	       (pos = strchr(src->str, '\r')) != NULL)
 		*pos = ' ';
-	
+
 	len = g_utf8_strlen (src->str, -1);
 
 	if (truncated)
 		*truncated = (len > max_len);
-	
+
 	if (len > max_len) {
 		gchar* last = g_utf8_offset_to_pointer (src->str,
                                                         max_len - 1);
@@ -973,7 +973,7 @@ cmd_area_set_text (WorkbookControl *wbc, SheetView *sv,
 	Sheet *sheet = sv_sheet (sv);
 
 	g_return_val_if_fail (selection != NULL , TRUE);
-	
+
 	parse_pos_init_editpos (&pp, sv);
 	expr_txt = gnm_expr_char_start_p (new_text);
 	if (expr_txt != NULL)
@@ -1052,7 +1052,7 @@ cmd_area_set_text (WorkbookControl *wbc, SheetView *sv,
 	result = cmd_generic (wbc, text, undo, redo);
 	g_free (text);
 	range_fragment_free (selection);
-	return result;	
+	return result;
 }
 
 /*
@@ -1078,7 +1078,7 @@ cmd_area_set_array_expr (WorkbookControl *wbc, SheetView *sv,
 	char *name;
 	char *text;
 	GnmSheetRange *sr;
-	
+
 	g_return_val_if_fail (selection != NULL , TRUE);
 	g_return_val_if_fail (selection->next == NULL , TRUE);
 
@@ -1118,7 +1118,7 @@ cmd_create_data_table (WorkbookControl *wbc, Sheet *sheet, GnmRange const *r,
 	GnmSheetRange *sr;
 	GnmParsePos pp;
 	GnmExprTop const  *texpr;
-	
+
 	name = undo_range_name (sheet, r);
 	text = g_strdup_printf (_("Creating a Data Table in %s"), name);
 	g_free (name);
@@ -1889,7 +1889,7 @@ cmd_resize_colrow (WorkbookControl *wbc, Sheet *sheet,
 		(sheet, is_cols, colrow_index_list_copy (selection), saved_state);
 
  	redo = gnm_undo_colrow_set_sizes_new (sheet, is_cols, selection, new_size);
-	
+
 	result = cmd_generic_with_size (wbc, text, size, undo, redo);
 	g_free (text);
 
@@ -2897,7 +2897,7 @@ cmd_paste_copy (WorkbookControl *wbc,
 		go_slist_map (cr->objects, (GOMapFunc)sheet_object_dup);
 
 	/* If the input is only objects ignore all this range stuff */
-	if (!me->only_objects) {	
+	if (!me->only_objects) {
                 /* see if we need to do any tiling */
 		GnmRange *r = &me->dst.range;
 		if (pt->paste_flags & PASTE_TRANSPOSE) {
@@ -4456,7 +4456,7 @@ cmd_objects_move (WorkbookControl *wbc, GSList *objects, GSList *anchors,
 	redo = sheet_object_move_do (objects, anchors, objects_created);
 
 	result = cmd_generic (wbc, name, undo, redo);
-	
+
 	g_slist_free (objects);
 	go_slist_free_custom (anchors, g_free);
 
@@ -5927,7 +5927,7 @@ cmd_rescope_name_redo (GnmCommand *cmd, WorkbookControl *wbc)
 	CmdRescopeName *me = CMD_RESCOPE_NAME (cmd);
 	Sheet *old_scope = me->nexpr->pos.sheet;
 	char *err;
-	
+
 	err = expr_name_set_scope (me->nexpr, me->scope);
 
 	if (err != NULL) {
@@ -7530,7 +7530,7 @@ cmd_autofilter_add_remove (WorkbookControl *wbc)
 	GOUndo *undo = NULL;
 	GOUndo *redo = NULL;
 	gboolean result;
-	
+
 
 	if (add) {
 		GnmRange region;
@@ -7602,7 +7602,7 @@ cmd_autofilter_add_remove (WorkbookControl *wbc)
 		gnm_filter_remove (f);
 		if (f_old)
 			gnm_filter_attach (f_old, sv->sheet);
-			
+
 		redo = go_undo_combine (go_undo_binary_new 
 					(gnm_filter_ref (f), sv->sheet, 
 					 (GOUndoBinaryFunc) gnm_filter_attach,
@@ -7613,7 +7613,7 @@ cmd_autofilter_add_remove (WorkbookControl *wbc)
 					(f, 
 					 (GOUndoUnaryFunc) gnm_filter_remove,
 					 (GFreeFunc) gnm_filter_unref));
-					
+
 		name = undo_range_name (sv->sheet, &(f->r));
 		descr = g_strdup_printf 
 			((f_old == NULL) ? _("Add Autofilter to %s")
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index a9e41e3..fa1f02c 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -12,7 +12,7 @@
 
 	* dialog-solver.c (dialog_init): If we have no existing target we
 	should add the selection.
-	
+
 2010-07-04  Morten Welinder  <terra gnome org>
 
 	* dialog-solver.c (dialog_init): Don't add current selection to
diff --git a/src/dialogs/dialog-advanced-filter.c b/src/dialogs/dialog-advanced-filter.c
index 142951c..507146e 100644
--- a/src/dialogs/dialog-advanced-filter.c
+++ b/src/dialogs/dialog-advanced-filter.c
@@ -146,7 +146,7 @@ advanced_filter_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
 			g_free (data);
 		} else 
 			err = analysis_tools_noerr;
-		
+
 	}
 
 	if (dao->type == InPlaceOutput || err != analysis_tools_noerr) {
diff --git a/src/dialogs/dialog-analysis-tool-sign-test.c b/src/dialogs/dialog-analysis-tool-sign-test.c
index aedde52..021ffaf 100644
--- a/src/dialogs/dialog-analysis-tool-sign-test.c
+++ b/src/dialogs/dialog-analysis-tool-sign-test.c
@@ -209,7 +209,7 @@ sign_test_two_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
 	w = glade_xml_get_widget (state->base.gui, "labels_button");
         data->base.labels = gtk_toggle_button_get_active 
 		(GTK_TOGGLE_BUTTON (w));
-	
+
 	err = entry_to_float
 		(GTK_ENTRY (state->median_entry), &data->median, FALSE);
 
@@ -265,7 +265,7 @@ dialog_sign_test_two_tool (WBCGtk *wbcg, Sheet *sheet, signtest_type type)
 			      GNM_EE_SINGLE_RANGE))
 		return 0;
 
-	
+
 	state->alpha_entry = tool_setup_update 
 		(&state->base, "alpha-entry",
 		 G_CALLBACK (sign_test_two_tool_update_sensitivity_cb), 
@@ -318,11 +318,11 @@ sign_test_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
 	data->base.input = gnm_expr_entry_parse_as_list (
 		GNM_EXPR_ENTRY (state->base.input_entry), state->base.sheet);
 	data->base.group_by = gnumeric_glade_group_value (state->base.gui, grouped_by_group);
-	
+
 	w = glade_xml_get_widget (state->base.gui, "labels_button");
         data->base.labels = gtk_toggle_button_get_active 
 		(GTK_TOGGLE_BUTTON (w));
-	
+
 	err = entry_to_float
 		(GTK_ENTRY (state->median_entry), &data->median, FALSE);
 	data->alpha = gtk_spin_button_get_value
@@ -410,7 +410,7 @@ dialog_sign_test_tool (WBCGtk *wbcg, Sheet *sheet, signtest_type type)
 			      0))
 		return 0;
 
-	
+
 	state->alpha_entry = tool_setup_update 
 		(&state->base, "alpha-entry",
 		 G_CALLBACK (sign_test_two_tool_update_sensitivity_cb), 
diff --git a/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c b/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
index 5d5a5c3..24fca9b 100644
--- a/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
+++ b/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
@@ -81,7 +81,7 @@ wilcoxon_mann_whitney_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy
 		GnmRangeRef const *rr = value_get_rangeref (input_range);
 		guint len = 0;
 		GnmRange r;
-		
+
 		if (rr != NULL) {
 			group_by_t group_by 
 				= gnumeric_glade_group_value 
diff --git a/src/dialogs/dialog-analysis-tools.c b/src/dialogs/dialog-analysis-tools.c
index 73e34b6..6b0182e 100644
--- a/src/dialogs/dialog-analysis-tools.c
+++ b/src/dialogs/dialog-analysis-tools.c
@@ -2358,7 +2358,7 @@ regression_tool_regression_check_toggled_cb (G_GNUC_UNUSED
 		gtk_label_set_markup_with_mnemonic  (GTK_LABEL (w1),
 						     _("_X variables:"));
 		gtk_label_set_markup_with_mnemonic  (GTK_LABEL (w2),
-						     _("_Y variable:"));		
+						     _("_Y variable:"));
 	}
 	regression_tool_update_sensitivity_cb (NULL, state);
 }
diff --git a/src/dialogs/dialog-cell-sort.c b/src/dialogs/dialog-cell-sort.c
index 09662ff..e3a69f8 100644
--- a/src/dialogs/dialog-cell-sort.c
+++ b/src/dialogs/dialog-cell-sort.c
@@ -505,14 +505,14 @@ cb_dialog_ok_clicked (SortFlowState *state)
 	data->retain_formats = gtk_toggle_button_get_active (
 		GTK_TOGGLE_BUTTON (state->retain_format_check));
 	data->locale = go_locale_sel_get_locale (state->locale_selector);
-	
+
 	data_copy = gnm_sort_data_copy (data);
 	text = gnm_expr_entry_get_text (state->range_entry);
 	gnm_sheet_add_sort_setup
 		(data->sheet, 
 		 g_strdup((text != NULL && text[0] != '\0') ? text : "Other"), 
 		 data_copy);
-	
+
 	cmd_sort (WORKBOOK_CONTROL (state->wbcg), data);
 
 	gtk_widget_destroy (state->dialog);
@@ -536,12 +536,12 @@ dialog_cell_sort_load_sort_setup (SortFlowState *state, GnmSortData const *data)
 
 	if (sheet == NULL)
 		sheet = state->sheet;
-	
+
 	go_locale_sel_set_locale (state->locale_selector, data->locale);
-	
+
 	gtk_toggle_button_set_active (
 		GTK_TOGGLE_BUTTON (state->retain_format_check), data->retain_formats);
-	
+
 	gtk_toggle_button_set_active (
 		GTK_TOGGLE_BUTTON (state->cell_sort_row_rb), !data->top);
 	state->is_cols = data->top;
@@ -551,7 +551,7 @@ dialog_cell_sort_load_sort_setup (SortFlowState *state, GnmSortData const *data)
 	max = (data->top ? state->sel->v_range.cell.b.col : state->sel->v_range.cell.b.row);
 	gtk_list_store_clear (state->model);
 	state->sort_items = 0;
-	for (i = 0; i < data->num_clause; i++) {		
+	for (i = 0; i < data->num_clause; i++) {
 		if (data->clauses[i].offset <= max ) {
 			GtkTreeIter iter;
 			gchar *str, *header;
@@ -605,14 +605,14 @@ dialog_load_selection (SortFlowState *state, gboolean *col_rb)
 				      sheet_range_has_heading 
 				      (state->sheet, first, *col_rb, FALSE));
 	cb_sort_header_check (state);
-	
+
 	data = gnm_sheet_find_sort_setup (state->sheet, 
 					  gnm_expr_entry_get_text (state->range_entry));
 	if (data != NULL)
 		dialog_cell_sort_load_sort_setup (state, data);
 	else
 		cb_update_to_new_range (state);
-	
+
 	return first;
 }
 
diff --git a/src/dialogs/dialog-define-names.c b/src/dialogs/dialog-define-names.c
index 6622a76..95e19f5 100644
--- a/src/dialogs/dialog-define-names.c
+++ b/src/dialogs/dialog-define-names.c
@@ -155,7 +155,7 @@ name_guru_expand_at_iter (NameGuruState *state, GtkTreeIter *iter)
 		(GTK_TREE_MODEL (state->model), iter);
 	gtk_tree_view_expand_to_path 
 		(GTK_TREE_VIEW (state->treeview), path);
-	gtk_tree_path_free (path);	
+	gtk_tree_path_free (path);
 
 }
 
@@ -237,7 +237,7 @@ cb_name_guru_search (GtkTreeModel *model, GtkTreePath *path,
 		g_free (name_n); 
 		g_free (name_cf);
 	}
-	
+
 	if (visible != was_visible)
 		gtk_tree_store_set (GTK_TREE_STORE (model), iter, 
 				    ITEM_VISIBLE, visible,
@@ -262,7 +262,7 @@ name_guru_search (GtkEntry *entry, gpointer data)
 			 data);
 		return;
 	}
-	text = gtk_entry_get_text (entry);	
+	text = gtk_entry_get_text (entry);
 	gtk_tree_model_foreach (GTK_TREE_MODEL (state->model),
 				cb_name_guru_search, (gpointer) text);
 }
@@ -333,7 +333,7 @@ name_guru_set_images (NameGuruState *state, GtkTreeIter	*name_iter,
 			    pastable ?  state->image_paste : NULL,
 			    ITEM_UPDOWN_ACTIVE, button1 != NULL,
 			    ITEM_ADDDELETE_ACTIVE, button2 != NULL,
-			    -1);	
+			    -1);
 }
 
 static void
@@ -356,7 +356,7 @@ name_guru_store_names (GList            *list,
 
 		ispastable = ciseditable = 
 			type == item_type_available_wb_name 
-			|| type == item_type_available_sheet_name;		
+			|| type == item_type_available_sheet_name;
 
 		if (nexpr->is_permanent) {
 			adj_type =  item_type_locked_name;
@@ -381,7 +381,7 @@ name_guru_store_names (GList            *list,
 				    ITEM_VISIBLE, TRUE,
 				    -1);
 		g_free (content);
-		
+
 		name_guru_set_images (state, &name_iter, adj_type, ispastable);
 	}
 	g_list_free (list);
@@ -470,7 +470,7 @@ name_guru_paste (NameGuruState *state, GtkTreeIter *iter)
 			    ITEM_PASTABLE, &is_pastable,
 			    ITEM_NAME, &name,
 			    -1);
-	
+
 	if (!is_pastable)
 		return FALSE;
 
@@ -625,17 +625,17 @@ static void
 name_guru_delete (NameGuruState *state, GtkTreeIter *iter, item_type_t type)
 {
 	GnmNamedExpr *nexpr;
-	
+
 	if (type != item_type_new_unsaved_wb_name &&
 	    type != item_type_new_unsaved_sheet_name) {
 		gtk_tree_model_get (GTK_TREE_MODEL (state->model), 
 				    iter,
 				    ITEM_NAME_POINTER, &nexpr,
 				    -1);
-		
+
 		if (!name_guru_warn (state, nexpr))
 			return;
-		
+
 		cmd_remove_name (WORKBOOK_CONTROL (state->wbcg), nexpr);
 	}
 	gtk_tree_store_remove (state->model, iter);
@@ -689,7 +689,7 @@ name_guru_find_place (NameGuruState *state, GtkTreeIter *iter,
 	    gtk_tree_model_iter_children (GTK_TREE_MODEL (state->model),
 					  &next_iter,
 					  parent_iter)) {
-		do {	
+		do {
 			gtk_tree_model_get (GTK_TREE_MODEL (state->model), 
 					    &next_iter,
 					    ITEM_NAME_POINTER, &next_nexpr,
@@ -705,7 +705,7 @@ name_guru_find_place (NameGuruState *state, GtkTreeIter *iter,
 			}
 		} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (state->model),
 						   &next_iter));
-		
+
 		gtk_tree_store_append (state->model, iter,
 				       parent_iter);
 	} else {
@@ -736,9 +736,9 @@ name_guru_move_record (NameGuruState *state, GtkTreeIter *from_iter,
 			    -1);
 
 	gtk_tree_store_remove (state->model, from_iter);
-		
+
 	name_guru_find_place (state, &new_iter, new_parent_iter, nexpr);
-	
+
 	gtk_tree_store_set (state->model, &new_iter, 
 			    ITEM_NAME, name, 
 			    ITEM_NAME_POINTER, nexpr, 
@@ -809,7 +809,7 @@ cb_name_guru_switch_scope (G_GNUC_UNUSED GtkCellRendererToggle *cell,
 		default:
 			return;
 		}
-		
+
 		if (gtk_tree_model_get_iter_from_string 
 		    (GTK_TREE_MODEL (state->model), 
 		     &new_parent_iter, new_path)) {
@@ -841,7 +841,7 @@ name_guru_parse_pos_init (NameGuruState *state,
 	case item_type_foreign_name:
 	default:
 		return FALSE;
-	}	
+	}
 }
 
 /*
@@ -983,7 +983,7 @@ cb_name_guru_name_edited (G_GNUC_UNUSED GtkCellRendererText *cell,
 			return;
 		}
 	}
-	
+
 	texpr = name_guru_check_expression (state, content, &pp , type);
 	if (texpr == NULL)
 		return;
@@ -992,7 +992,7 @@ cb_name_guru_name_edited (G_GNUC_UNUSED GtkCellRendererText *cell,
 			      new_text, &pp,
 			      texpr, NULL)) {
 		nexpr = expr_name_lookup (&pp, new_text);
-		
+
 		type = (type == item_type_new_unsaved_wb_name) ? 
 			item_type_available_wb_name :
 			item_type_available_sheet_name;
@@ -1006,7 +1006,7 @@ cb_name_guru_name_edited (G_GNUC_UNUSED GtkCellRendererText *cell,
 			 ITEM_NAME_IS_EDITABLE, FALSE,
 			 -1);
 		name_guru_set_images (state, &iter, type, TRUE);
-		
+
 		if (gtk_tree_model_iter_parent (GTK_TREE_MODEL (state->model),
 						&parent_iter, &iter))
 			name_guru_move_record (state, &iter, &parent_iter, type);
@@ -1020,7 +1020,7 @@ name_guru_update_sensitivity (GtkTreeSelection *treeselection,
 	NameGuruState *state = user_data;
 	gboolean is_pastable = FALSE; 
 	GtkTreeIter iter;
-	
+
 	if (gtk_tree_selection_get_selected 
 	    (treeselection, NULL, &iter))
 		gtk_tree_model_get (state->model_f, &iter,
@@ -1028,7 +1028,7 @@ name_guru_update_sensitivity (GtkTreeSelection *treeselection,
 				    -1);
 	gtk_widget_set_sensitive (GTK_WIDGET (state->paste_button),
 				  is_pastable);
-		
+
 } 
 
 static gboolean
@@ -1140,7 +1140,7 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
 			 NULL);
 		gtk_tree_view_append_column (GTK_TREE_VIEW (state->treeview), 
 					     column);
-	
+
 		renderer = gnumeric_cell_renderer_toggle_new ();
 		g_signal_connect (G_OBJECT (renderer),
 				  "toggled",
@@ -1263,7 +1263,7 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
 			       DEFINE_NAMES_KEY);
 	go_gtk_nonmodal_dialog (wbcg_toplevel (state->wbcg),
 				   GTK_WINDOW (state->dialog));
-	
+
 	g_object_set_data_full (G_OBJECT (state->dialog),
 		"state", state, (GDestroyNotify)cb_name_guru_destroy);
 
diff --git a/src/dialogs/dialog-doc-metadata.c b/src/dialogs/dialog-doc-metadata.c
index ddf8e33..f39be5b 100644
--- a/src/dialogs/dialog-doc-metadata.c
+++ b/src/dialogs/dialog-doc-metadata.c
@@ -1401,7 +1401,7 @@ static void
 cb_dialog_doc_metadata_recalc_iteration_changed (G_GNUC_UNUSED GtkWidget *widget, DialogDocMetaData *state)
 {
 	/* FIXME: make undoable */
-	workbook_iteration_enabled (state->wb, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)));	
+	workbook_iteration_enabled (state->wb, gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)));
 	gtk_widget_set_sensitive (state->recalc_iteration_table, state->wb->iteration.enabled);
 }
 
@@ -1631,7 +1631,7 @@ dialog_doc_metadata_select_page (DialogDocMetaData *state, int page)
 		gtk_tree_model_foreach (GTK_TREE_MODEL (state->store),
 					(GtkTreeModelForeachFunc) dialog_doc_metadata_select_page_search,
 					&pst);
-	
+
 	if (pst.path == NULL)
 		pst.path = gtk_tree_path_new_from_string ("0");
 
@@ -1707,7 +1707,7 @@ dialog_doc_metadata_init (DialogDocMetaData *state,
 	g_signal_connect (selection,
 			  "changed",
 			  G_CALLBACK (cb_dialog_doc_metadata_selection_changed), state);
-	
+
 
 	/* Register g_value_transform functions */
 	g_value_register_transform_func (G_TYPE_STRING,
@@ -1726,7 +1726,7 @@ dialog_doc_metadata_init (DialogDocMetaData *state,
 					 G_TYPE_STRING,
 					 dialog_doc_metadata_transform_docprop_vect_to_str);
 
-	
+
 	for (i = 0; page_info[i].page > -1; i++) {
 		const page_info_t *this_page =  &page_info[i];
 		this_page->page_initializer (state);
diff --git a/src/dialogs/dialog-formula-guru.c b/src/dialogs/dialog-formula-guru.c
index 5fb879f..dbb9203 100644
--- a/src/dialogs/dialog-formula-guru.c
+++ b/src/dialogs/dialog-formula-guru.c
@@ -791,15 +791,15 @@ start_editing_cb (GtkTreeView      *tree_view,
 
 		if (state->editable)
 			gtk_cell_editable_editing_done (state->editable);
-		
+
 		gtk_widget_grab_focus (GTK_WIDGET (state->treeview));
 		gtk_tree_view_set_cursor (state->treeview,
 					  path,
 					  state->column,
 					  TRUE);
-		
+
 		gtk_tree_path_free (path);
-		
+
 		return TRUE;
 	}
 	return FALSE;
@@ -1062,7 +1062,7 @@ dialog_formula_guru (WBCGtk *wbcg, GnmFunc *fd)
 			expr = gnm_expr_top_first_funcall (cell->base.texpr);
 	} else
 		parse_pos_init_editpos (state->pos, sv);
-	
+
 
 	if (expr == NULL) {
 		wbcg_edit_start (wbcg, TRUE, TRUE);
diff --git a/src/dialogs/dialog-function-select.c b/src/dialogs/dialog-function-select.c
index d958e9c..a615298 100644
--- a/src/dialogs/dialog-function-select.c
+++ b/src/dialogs/dialog-function-select.c
@@ -122,7 +122,7 @@ cb_dialog_function_select_search_all (GtkTreeModel *model, GtkTreePath *path,
 			    FUNCTION_USED, &used,
 			    FUNCTION_CAT, &cat,
 			    -1);
-	
+
 	if (specs->recent_only && !recent)
 		visible = FALSE;
 	else if (specs->used_only && !used)
@@ -153,7 +153,7 @@ cb_dialog_function_select_search_all (GtkTreeModel *model, GtkTreePath *path,
 
 		g_free (text_n); 
 		g_free (text_cf);
-	
+
 
 		g_free (name);
 		g_free (desc);
@@ -188,7 +188,7 @@ dialog_function_select_search (GtkEntry *entry, gpointer data)
 		if (specs.recent_only || specs.used_only)
 			specs.cat = NULL;
 	}
-	
+
 	gtk_tree_model_foreach (GTK_TREE_MODEL (state->model_functions),
 				cb_dialog_function_select_search_all, 
 				(gpointer) &specs);
@@ -396,7 +396,7 @@ cb_dialog_function_select_load_cb (GtkTreeModel *model,
 			    CAT_NAME, &name,
 			    CATEGORY, &ptr,
 			    -1);
-	
+
 	if (ptr == NULL || ptr == GINT_TO_POINTER(-1) 
 	    || ptr == GINT_TO_POINTER(-2))
 		return FALSE;
@@ -835,7 +835,7 @@ dialog_function_select_find_func (FunctionSelectState *state, char* name)
 			gtk_tree_path_free (data.path);
 		} else
 			g_warning ("Function %s was not found in its category", name);
-		
+
 	} else
 		g_warning ("Function %s was not found", name);
 }
@@ -942,7 +942,7 @@ static const gchar *
 dialog_function_select_peek_description (GnmFunc *func)
 {
 	GnmFuncHelp const *help;
-	
+
 	gnm_func_load_if_stub (func);
 	help = func->help;
 
@@ -1028,7 +1028,7 @@ dialog_function_select_load_tree (FunctionSelectState *state)
 	while ((cat = gnm_func_group_get_nth (i++)) != NULL)
 		funcs = g_slist_concat (funcs,
 					g_slist_copy (cat->functions));
-	
+
 	funcs = g_slist_sort (funcs,
 			      dialog_function_select_by_name);
 
@@ -1054,7 +1054,7 @@ dialog_function_select_load_tree (FunctionSelectState *state)
 
 		}
 	}
-	
+
 	g_slist_free (funcs);
 }
 
diff --git a/src/dialogs/dialog-hyperlink.c b/src/dialogs/dialog-hyperlink.c
index e88d9b1..e1881d0 100644
--- a/src/dialogs/dialog-hyperlink.c
+++ b/src/dialogs/dialog-hyperlink.c
@@ -100,7 +100,7 @@ dhl_set_tip (HyperlinkState* state)
 	if (tip != NULL) {
 		char const * const target = gnm_hlink_get_target (state->link);
 		char *default_tip = dhl_get_default_tip (target);
-		
+
 		if (strcmp (tip, default_tip) == 0) {
 			w = glade_xml_get_widget (state->gui, "use-default-tip");
 			gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE);
@@ -111,7 +111,7 @@ dhl_set_tip (HyperlinkState* state)
 	} 
 	w = glade_xml_get_widget (state->gui, "use-this-tip");
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE);
-	
+
 	tb = gtk_text_view_get_buffer 
 		(GTK_TEXT_VIEW (glade_xml_get_widget (state->gui, "tip-entry")));
 
@@ -473,7 +473,7 @@ dhl_init (HyperlinkState *state)
 	GtkListStore *store;
 	GtkTreeIter iter;
 	GtkCellRenderer *renderer;
-	
+
 #ifdef GNM_NO_MAILTO
 	gtk_widget_hide (glade_xml_get_widget (state->gui, "email-box"));
 #endif
@@ -481,38 +481,38 @@ dhl_init (HyperlinkState *state)
 	for (i = 0 ; i < G_N_ELEMENTS (label); i++)
 		gtk_size_group_add_widget (size_group,
 					   glade_xml_get_widget (state->gui, label[i]));
-	
+
 	w  = glade_xml_get_widget (state->gui, "link-type-image");
 	state->type_image = GTK_IMAGE (w);
 	w  = glade_xml_get_widget (state->gui, "link-type-descriptor");
 	state->type_descriptor = GTK_LABEL (w);
-	
+
 	w = glade_xml_get_widget (state->gui, "internal-link-box");
 	expr_entry = gnm_expr_entry_new (state->wbcg, TRUE);
 	gtk_box_pack_end (GTK_BOX (w), GTK_WIDGET (expr_entry), TRUE, TRUE, 0);
 	gtk_entry_set_activates_default
 		(gnm_expr_entry_get_entry (expr_entry), TRUE);
 	state->internal_link_ee = expr_entry;
-	
+
 	w = glade_xml_get_widget (state->gui, "cancel_button");
 	g_signal_connect (G_OBJECT (w),
 			  "clicked",
 			  G_CALLBACK (dhl_cb_cancel), state);
-	
+
 	w  = glade_xml_get_widget (state->gui, "ok_button");
 	g_signal_connect (G_OBJECT (w),
 			  "clicked",
 			  G_CALLBACK (dhl_cb_ok), state);
 	gtk_window_set_default (GTK_WINDOW (state->dialog), w);
-	
+
 	gnumeric_init_help_button (
 		glade_xml_get_widget (state->gui, "help_button"),
 		GNUMERIC_HELP_LINK_HYPERLINK);
-	
+
 	store = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING);
 	w  = glade_xml_get_widget (state->gui, "link-type-menu");
 	gtk_combo_box_set_model (GTK_COMBO_BOX (w), GTK_TREE_MODEL (store));
-	
+
 	for (i = 0 ; i < G_N_ELEMENTS (type); i++) {
 		pixbuf = gtk_widget_render_icon (w, type[i].image_name,
 						 GTK_ICON_SIZE_MENU, NULL);
@@ -521,12 +521,12 @@ dhl_init (HyperlinkState *state)
 				    0, pixbuf,
 				    1, _(type[i].label),
 				    -1);
-		
+
 		if (strcmp (G_OBJECT_TYPE_NAME (state->link),
 			    type [i].name) == 0)
 			select = i;
 	}
-	
+
 	renderer = gtk_cell_renderer_pixbuf_new ();
 	gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (w),
 				    renderer,
@@ -534,7 +534,7 @@ dhl_init (HyperlinkState *state)
 	gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (w), renderer,
 					"pixbuf", 0,
 					NULL);
-	
+
 	renderer = gtk_cell_renderer_text_new ();
 	gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (w),
 				    renderer,
@@ -543,11 +543,11 @@ dhl_init (HyperlinkState *state)
 					"text", 1,
 					NULL);
 	gtk_combo_box_set_active (GTK_COMBO_BOX (w), select);
-	
+
 	g_signal_connect (G_OBJECT (w), "changed",
 			  G_CALLBACK (dhl_cb_menu_changed),
 			  state);
-	
+
 	gnm_link_button_and_entry (glade_xml_get_widget (state->gui, "use-this-tip"),
 				   glade_xml_get_widget (state->gui, "tip-entry"));
 
diff --git a/src/dialogs/dialog-paste-special.c b/src/dialogs/dialog-paste-special.c
index 9f75654..20b6e18 100644
--- a/src/dialogs/dialog-paste-special.c
+++ b/src/dialogs/dialog-paste-special.c
@@ -53,11 +53,11 @@ static struct {
 	{FALSE, PASTE_COMMENTS},
 };
 static char const * const cell_operation_group[] = {
-	"cell-operation-none",	
-	"cell-operation-add",	
-	"cell-operation-subtract",	
-	"cell-operation-multiply",	
-	"cell-operation-divide",	
+	"cell-operation-none",
+	"cell-operation-add",
+	"cell-operation-subtract",
+	"cell-operation-multiply",
+	"cell-operation-divide",
 	NULL
 };
 static struct {
@@ -158,8 +158,8 @@ dialog_paste_special_type_toggled_cb (GtkWidget *button, PasteSpecialState *stat
 			gtk_widget_set_sensitive (glade_xml_get_widget (state->gui,*group),
 						  permit_cell_ops);
 		paste_link_set_sensitive (state);
-		skip_blanks_set_sensitive (state);		
-		dont_change_formulae_set_sensitive (state);		
+		skip_blanks_set_sensitive (state);
+		dont_change_formulae_set_sensitive (state);
 	}
 }
 
@@ -167,9 +167,9 @@ static void
 dialog_paste_special_cell_op_toggled_cb (GtkWidget *button, PasteSpecialState *state)
 {
 	if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button))) {
-		paste_link_set_sensitive (state);		
-		skip_blanks_set_sensitive (state);		
-		dont_change_formulae_set_sensitive (state);		
+		paste_link_set_sensitive (state);
+		skip_blanks_set_sensitive (state);
+		dont_change_formulae_set_sensitive (state);
 	}
 }
 
@@ -177,13 +177,13 @@ static void
 dialog_paste_special_region_op_toggled_cb (GtkWidget *button, PasteSpecialState *state)
 {
 	if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button))) {
-		paste_link_set_sensitive (state);		
+		paste_link_set_sensitive (state);
 	}
 }
 static void
 dialog_paste_special_skip_blanks_toggled_cb (GtkWidget *button, PasteSpecialState *state)
 {
-		paste_link_set_sensitive (state);		
+		paste_link_set_sensitive (state);
 }
 
 static void
@@ -201,7 +201,7 @@ cb_tool_ok_clicked (G_GNUC_UNUSED GtkWidget *button,
 	int result;
 	int paste_type = gnumeric_glade_group_value (state->gui, paste_type_group);
 	int region_op_type = gnumeric_glade_group_value (state->gui, region_operation_group);
-		
+
 	result = paste_type_group_props[paste_type].paste_enum 
 		| region_operation_props[region_op_type].paste_enum;
 
@@ -268,7 +268,7 @@ dialog_paste_special (WBCGtk *wbcg)
 	g_signal_connect (G_OBJECT (state->ok_button),
 			  "clicked",
 			  G_CALLBACK (cb_tool_ok_clicked), state);
-	
+
 
 	for (group = paste_type_group; *group != NULL; group++) 
 		g_signal_connect_after (glade_xml_get_widget (state->gui,*group),
@@ -285,7 +285,7 @@ dialog_paste_special (WBCGtk *wbcg)
 	g_signal_connect_after (glade_xml_get_widget (state->gui, "skip-blanks"),
 				"toggled",
 				G_CALLBACK (dialog_paste_special_skip_blanks_toggled_cb), state);
-	paste_link_set_sensitive (state);	
+	paste_link_set_sensitive (state);
 
 	gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog), wbcg,
 					   GNM_DIALOG_DESTROY_SHEET_REMOVED);
diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index be6bb4b..60e6d2f 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -558,7 +558,7 @@ wordlist_pref_create_widget (GOConfNode *node, GtkWidget *table,
 					     GTK_SHADOW_ETCHED_IN);
 	gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
 	gtk_container_add (GTK_CONTAINER (sw), tv);
-	
+
 	gtk_table_attach (GTK_TABLE (table), w,
 		0, 2, row, row + 1,
 		GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 5, 2);
@@ -1141,7 +1141,7 @@ dialog_pref_select_page (PrefState *state, int page)
 		gtk_tree_model_foreach (GTK_TREE_MODEL (state->store),
 					(GtkTreeModelForeachFunc) dialog_pref_select_page_search,
 					&pst);
-	
+
 	if (pst.path == NULL)
 		pst.path = gtk_tree_path_new_from_string ("0");
 
@@ -1285,7 +1285,7 @@ dialog_preferences (WBCGtk *wbcg, gint page)
 				      this_page->icon_name, i, 
 				      this_page->parent_path);
 	}
-	
+
 	gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (state->store),
 					      ITEM_NAME, GTK_SORT_ASCENDING);
 
diff --git a/src/dialogs/dialog-random-generator-cor.c b/src/dialogs/dialog-random-generator-cor.c
index f53bff4..f8fa177 100644
--- a/src/dialogs/dialog-random-generator-cor.c
+++ b/src/dialogs/dialog-random-generator-cor.c
@@ -89,7 +89,7 @@ static void
 random_cor_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
 				   RandomCorToolState *state)
 {
-        GnmValue *input_range;	
+        GnmValue *input_range;
 	gint height, width, count;
 
 	input_range = gnm_expr_entry_parse_as_value
@@ -125,7 +125,7 @@ random_cor_tool_update_sensitivity_cb (G_GNUC_UNUSED GtkWidget *dummy,
 		gtk_label_set_text (GTK_LABEL (state->base.warning),
 				    _("The number of random numbers requested is invalid."));
 		gtk_widget_set_sensitive (state->base.ok_button, FALSE);
-		return;		
+		return;
 	}
 
 	gtk_label_set_text (GTK_LABEL (state->base.warning), "");
diff --git a/src/dialogs/dialog-search-replace.c b/src/dialogs/dialog-search-replace.c
index f459a46..d7abca4 100644
--- a/src/dialogs/dialog-search-replace.c
+++ b/src/dialogs/dialog-search-replace.c
@@ -117,7 +117,7 @@ dialog_search_replace_save_in_prefs (DialogState *dd)
 	gnm_conf_set_searchreplace_error_behaviour 
 		(gnumeric_glade_group_value (gui, error_group));
 	gnm_conf_set_searchreplace_scope 
-		(gnumeric_glade_group_value (gui, scope_group));	
+		(gnumeric_glade_group_value (gui, scope_group));
 }
 
 static void
@@ -167,7 +167,7 @@ apply_clicked (G_GNUC_UNUSED GtkWidget *widget, DialogState *dd)
 
 	if  (is_checked (gui, "save-in-prefs"))
 		dialog_search_replace_save_in_prefs (dd);
-	
+
 
 	err = gnm_search_replace_verify (sr, TRUE);
 	if (err) {
@@ -195,7 +195,7 @@ static void
 ok_clicked (GtkWidget *widget, DialogState *dd)
 {
         apply_clicked (widget, dd);
-	
+
 	gtk_widget_destroy (GTK_WIDGET (dd->dialog));
 	dd = NULL;  /* Destroyed */
 }
diff --git a/src/dialogs/dialog-sheet-order.c b/src/dialogs/dialog-sheet-order.c
index fd2355b..8b52e9f 100644
--- a/src/dialogs/dialog-sheet-order.c
+++ b/src/dialogs/dialog-sheet-order.c
@@ -625,7 +625,7 @@ cb_toggled_visible (G_GNUC_UNUSED GtkCellRendererToggle *cell,
 	update_undo (state, wbc);
 
 	if (is_visible)
-		populate_sheet_list (state);	
+		populate_sheet_list (state);
 }
 
 static gboolean
diff --git a/src/dialogs/dialog-sheetobject-size.c b/src/dialogs/dialog-sheetobject-size.c
index 005c179..a8df6cb 100644
--- a/src/dialogs/dialog-sheetobject-size.c
+++ b/src/dialogs/dialog-sheetobject-size.c
@@ -129,12 +129,12 @@ cb_dialog_so_size_value_changed (G_GNUC_UNUSED GtkSpinButton *spinbutton,
 	int width, height;
 	int new_width, new_height;
 	int dx, dy;
-	
+
 	width = state->coords[2] - state->coords[0];
 	height = state->coords[3] - state->coords[1];
 	if (width < 0) width = - width;
 	if (height < 0) height = - height;
-	
+
 	new_width = gtk_spin_button_get_value_as_int (state->wspin);
 	new_height = gtk_spin_button_get_value_as_int (state->hspin);
 	dx =  gtk_spin_button_get_value_as_int (state->xspin);
@@ -147,7 +147,7 @@ cb_dialog_so_size_value_changed (G_GNUC_UNUSED GtkSpinButton *spinbutton,
 
 	if (state->so_size_needs_restore || state->so_pos_needs_restore) {
 		gdouble new_coords[4];
-		
+
 		new_coords[0] = state->coords[0] + dx;
 		new_coords[1] = state->coords[1] + dy;
 		new_coords[2] = state->coords[2] + dx;
@@ -160,7 +160,7 @@ cb_dialog_so_size_value_changed (G_GNUC_UNUSED GtkSpinButton *spinbutton,
 			new_coords[3] = new_coords[1] + new_height;
 		else
 			new_coords[1] = new_coords[3] + new_height;
-		
+
 		scg_object_coords_to_anchor (state->scg, new_coords, 
 					     state->active_anchor);
 	}
@@ -286,7 +286,7 @@ dialog_so_size (WBCGtk *wbcg, GObject *so)
 
 	state->so = SHEET_OBJECT (so);
 	g_object_ref (so);
-	
+
 	state->nameentry = GTK_ENTRY (glade_xml_get_widget (state->gui, "name-entry"));
 	state->old_anchor = NULL;
 	state->old_name = NULL;
diff --git a/src/dialogs/dialog-workbook-attr.c b/src/dialogs/dialog-workbook-attr.c
index 967f3da..858b0a8 100644
--- a/src/dialogs/dialog-workbook-attr.c
+++ b/src/dialogs/dialog-workbook-attr.c
@@ -107,7 +107,7 @@ attr_dialog_init_toggle (AttrState *state, char const *name, char const *key)
 
 	g_object_get (G_OBJECT (state->wbv), key, &val, NULL); 
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), val);
-	
+
 	g_signal_connect (G_OBJECT (w),
 		"toggled",
 		G_CALLBACK (cb_widget_changed), state);
@@ -218,7 +218,7 @@ attr_dialog_select_page (AttrState *state, int page)
 		gtk_tree_model_foreach (GTK_TREE_MODEL (state->store),
 					(GtkTreeModelForeachFunc) attr_dialog_select_page_search,
 					&pst);
-	
+
 	if (pst.path == NULL)
 		pst.path = gtk_tree_path_new_from_string ("0");
 
@@ -293,7 +293,7 @@ attr_dialog_impl (AttrState *state)
 	}
 
 	gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (state->store), ITEM_NAME, GTK_SORT_ASCENDING);
-	
+
 	g_signal_connect (G_OBJECT (glade_xml_get_widget (state->gui, "close_button")),
 			  "clicked",
 			  G_CALLBACK (cb_attr_dialog_dialog_close), state);
diff --git a/src/expr-name.c b/src/expr-name.c
index 06e4603..87c9990 100644
--- a/src/expr-name.c
+++ b/src/expr-name.c
@@ -48,7 +48,7 @@ expr_name_validate_r1c1 (const char *name)
 	for (i = 0; p[0] && g_ascii_isdigit (p[0]); p = g_utf8_next_char (p))
 		i++;
 	if (i==0)
-		return TRUE;	
+		return TRUE;
 	return (p[0] != '\0');
 }
 
@@ -116,7 +116,7 @@ expr_name_validate (const char *name)
 	/* What about R1C1?  */
 	if (!expr_name_validate_r1c1 (name))
 		return FALSE;
-	
+
 	return TRUE;
 }
 
@@ -974,11 +974,11 @@ expr_name_in_use (GnmNamedExpr *nexpr)
 		/* The name is of sheet level scope           */
 		/* It can only be used by another sheet-level */
 		/* name of the same sheet.                    */
-		
+
 		return expr_name_check_for_name 
 			(name, nexpr->pos.sheet->names, FALSE);
 	}
-	
+
 
 	return FALSE;
 }
diff --git a/src/gnm-format.c b/src/gnm-format.c
index f749ffc..55b41d3 100644
--- a/src/gnm-format.c
+++ b/src/gnm-format.c
@@ -132,7 +132,7 @@ format_value_common (PangoLayout *layout, GString *str,
 				rtl = (dir == PANGO_DIRECTION_RTL || dir == PANGO_DIRECTION_TTB_RTL 
 				       || dir == PANGO_DIRECTION_WEAK_RTL);
 			}
-			
+
 			while ((ptr = strchr (str->str, '\n')) != NULL)
 				go_string_replace 
 					(str, ptr - str->str, 1, rtl ? UTF8_NEWLINE_RTL : UTF8_NEWLINE, -1);
diff --git a/src/gui-util.c b/src/gui-util.c
index 0486a4b..8ea1307 100644
--- a/src/gui-util.c
+++ b/src/gui-util.c
@@ -445,7 +445,7 @@ GtkWidget *
 gnumeric_create_tooltip_widget (void)
 {
 	GtkWidget *label, *frame;
-	
+
 	frame = gtk_frame_new (NULL);
 	gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
 	label = gtk_label_new ("");
diff --git a/src/mathfunc.c b/src/mathfunc.c
index 730cfb7..4224366 100644
--- a/src/mathfunc.c
+++ b/src/mathfunc.c
@@ -7663,9 +7663,9 @@ random_skew_normal (gnm_float a)
 	gnm_float delta = a / gnm_sqrt(1 + a * a);
 	gnm_float u = random_normal ();
 	gnm_float v = random_normal ();
-	
+
 	result = delta * u + gnm_sqrt (1-delta*delta) * v;
-	
+
 	return ((u < 0.) ? -result : result);
 }
 
@@ -7888,7 +7888,7 @@ gnm_matrix_eigen (gnm_float **matrix, gnm_float **eigenvectors, gnm_float *eigen
 
 	ind = g_new (guint, usize);
 	changed =  g_new (gboolean, usize);
-	
+
 	for (i = 0; i < usize; i++) {
 		guint j;
 		for (j = 0; j < usize; j++)
@@ -7902,7 +7902,7 @@ gnm_matrix_eigen (gnm_float **matrix, gnm_float **eigenvectors, gnm_float *eigen
 	while (usize > 1 && state != 0) {
 		guint k, l, m = 0;
 		gnm_float c, s, y, pivot, t;
-		
+
 		counter++;
 		if (counter > 400000) {
 			g_free (ind);
@@ -7916,7 +7916,7 @@ gnm_matrix_eigen (gnm_float **matrix, gnm_float **eigenvectors, gnm_float *eigen
 		l = ind[m];
 		pivot = matrix[m][l];
 		/* pivot is (m,l) */
-		
+
 		y = (eigenvalues[l] - eigenvalues[m])/2;
 		t = gnm_abs (y) + gnm_sqrt (pivot*pivot+y*y);
 		s = gnm_sqrt (pivot*pivot+t*t);
diff --git a/src/print.c b/src/print.c
index 19fb457..51c213f 100644
--- a/src/print.c
+++ b/src/print.c
@@ -901,7 +901,7 @@ load_repeat_range (char const *str, GnmRange *r, Sheet *sheet)
 
 	if (str == NULL || *str == '\0')
 		return FALSE;
-	
+
 	if (str != rangeref_parse (&res, str, 
 				   parse_pos_init_sheet (&pp, sheet), 
 				   gnm_conventions_default)) {
diff --git a/src/ranges.c b/src/ranges.c
index 03102bb..491fa23 100644
--- a/src/ranges.c
+++ b/src/ranges.c
@@ -973,7 +973,7 @@ range_list_name_try (GString *names, char const *sheet, GSList const *ranges)
 		else
 			g_string_append_printf (names, ", %s!%s",
 						sheet, n);
-		
+
 		gnm_cmd_trunc_descriptor (names, &truncated);
 
 		if (truncated)
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 757db4d..aa8110b 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -1867,7 +1867,7 @@ context_menu_handler (GnumericPopupMenuElement const *element,
 		for (l = scg_view (scg)->selections; l != NULL; l = l->next) {
 			GnmRange const *r = l->data;
 			GnmStyleList *styles;
-			
+
 			styles = sheet_style_collect_hlinks (sheet, r);
 			n_links += g_slist_length (styles);
 			style_list_free (styles);
@@ -2105,7 +2105,7 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
 			sensitivity_filter |= CONTEXT_DISABLE_FOR_ALL_ROWS;
 		} else
 			sensitivity_filter |= CONTEXT_DISABLE_FOR_ROWS;
-		
+
 
 		if (rfull_h) {
 			display_filter |= CONTEXT_DISPLAY_FOR_ROWS;
@@ -2195,14 +2195,14 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
 			popup_elements[POPUPITEM_FORMAT].allocated_name 
 				= g_strdup_printf (format, n_cols);
 		}
-	}	
+	}
 	if (display_filter & CONTEXT_DISPLAY_FOR_ROWS) {
 		char const *format;
 		format = ngettext ("_Insert %d Row", "_Insert %d Rows", n_rows);
 		popup_elements[POPUPITEM_INSERT_ROW].allocated_name = g_strdup_printf (format, n_rows);
 		format = ngettext ("_Delete %d Row", "_Delete %d Rows", n_rows);
 		popup_elements[POPUPITEM_DELETE_ROW].allocated_name = g_strdup_printf (format, n_rows);
-		
+
 		if (!(sensitivity_filter & (CONTEXT_DISABLE_FOR_CELLS | CONTEXT_DISABLE_FOR_COLS))) {
 			format = ngettext ("_Format %d Row", "_Format %d Rows", n_rows);
 			popup_elements[POPUPITEM_FORMAT].allocated_name 
@@ -2214,7 +2214,7 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
 		format = ngettext ("_Format %d Cell...", "_Format %d Cells", n_cells);
 		popup_elements[POPUPITEM_FORMAT].allocated_name = g_strdup_printf (format, n_cells);
 	}
-	
+
 
 	gnumeric_create_popup_menu (popup_elements, &context_menu_handler,
 				    scg, display_filter,
@@ -2643,23 +2643,23 @@ scg_objects_drag_commit_get_undo_text (int drag_type, int n,
 				       gboolean created_objects)
 {
 	char const *format;
-	
+
 	if (created_objects) {
 		if (drag_type == 8)
 			/* xgettext : %d gives the number of objects. This is input to ngettext. */
 			format = ngettext ("Duplicate %d Object", "Duplicate %d Objects", n); 
 		else
 			/* xgettext : %d gives the number of objects. This is input to ngettext. */
-			format = ngettext ("Insert %d Object", "Insert %d Objects", n); 			
+			format = ngettext ("Insert %d Object", "Insert %d Objects", n); 
 	} else {
 		if (drag_type == 8)
 			/* xgettext : %d gives the number of objects. This is input to ngettext. */
 			format = ngettext ("Move %d Object", "Move %d Objects", n); 
 		else
 			/* xgettext : %d gives the number of objects. This is input to ngettext. */
-			format = ngettext ("Resize %d Object", "Resize %d Objects", n); 			
+			format = ngettext ("Resize %d Object", "Resize %d Objects", n); 
 	}
-	
+
 	return g_strdup_printf (format, n);
 
 }
@@ -2683,12 +2683,12 @@ scg_objects_drag_commit (SheetControlGUI *scg, int drag_type,
 	redo = sheet_object_move_do (data.objects, data.anchors, created_objects);
 	text = scg_objects_drag_commit_get_undo_text 
 		(drag_type,  g_slist_length (data.objects), created_objects);
-	
+
 	if (pundo && predo) {
 		*pundo = undo;
 		*predo = redo;
 		if (undo_title)
-			*undo_title = text;	
+			*undo_title = text;
 	} else {
 		cmd_generic (WORKBOOK_CONTROL (scg_wbcg (scg)), 
 			     text, undo, redo);
diff --git a/src/sheet-object.c b/src/sheet-object.c
index 7ed3757..f1ac0c4 100644
--- a/src/sheet-object.c
+++ b/src/sheet-object.c
@@ -455,7 +455,7 @@ sheet_object_set_sheet (SheetObject *so, Sheet *sheet)
 {
 	g_return_val_if_fail (IS_SHEET_OBJECT (so), TRUE);
 	g_return_val_if_fail (IS_SHEET (sheet), TRUE);
-	
+
 	if (sheet == so->sheet)
 		return FALSE;
 
@@ -1483,7 +1483,7 @@ sheet_object_move_undo (GSList *objects, gboolean objects_created)
 				  (GOUndoUnaryFunc) sheet_object_clear_sheet,
 				  (GFreeFunc) g_object_unref));
 		}
-		
+
 		tmp = g_new (SheetObjectAnchor, 1);
 		*tmp = *sheet_object_get_anchor (obj);
 		undo = go_undo_combine 
diff --git a/src/sheet-utils.c b/src/sheet-utils.c
index 52ced37..37e105a 100644
--- a/src/sheet-utils.c
+++ b/src/sheet-utils.c
@@ -111,7 +111,7 @@ gnm_sheet_guess_data_range (Sheet *sheet, GnmRange *range)
 		if (!sheet_cell_or_one_below_is_not_empty (sheet, col, region.start.row))
 			break;
 	region.start.col = col + 1;
-	
+
 	/* look for next empty column */
 	start = range->end.col;
 	for (col = start + 1; col < gnm_sheet_get_max_cols (sheet); col++)
diff --git a/src/sheet-view.c b/src/sheet-view.c
index f790142..3060d16 100644
--- a/src/sheet-view.c
+++ b/src/sheet-view.c
@@ -663,7 +663,7 @@ sv_update (SheetView *sv)
 	SHEET_VIEW_FOREACH_CONTROL (sv, sc,
 				    wb_control_menu_state_update 
 				    (sc_wbc (sc), MS_SELECT_OBJECT););
-	
+
 }
 
 static GnmValue *
diff --git a/src/sheet.c b/src/sheet.c
index 5c429f4..164b8f2 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -1547,7 +1547,7 @@ sheet_apply_style_undo (GnmSheetRange *sr,
 		(sr, (gpointer)style, 
 		 (GOUndoBinaryFunc) sheet_apply_style_cb, 
 		 (GFreeFunc) gnm_sheet_range_free, 
-		 (GFreeFunc) gnm_style_unref);	
+		 (GFreeFunc) gnm_style_unref);
 }
 
 
@@ -2479,7 +2479,7 @@ sheet_range_set_expr_cb (GnmSheetRange const *sr, GnmExprTop const *texpr)
 		 sr->range.start.col, sr->range.start.row, 
 		 sr->range.end.col, sr->range.end.row,
 		 (CellIterFunc)&cb_set_cell_content, &closure);
-	
+
 	merged = gnm_sheet_merge_get_overlap (sr->sheet, &sr->range);
 	for (ptr = merged ; ptr != NULL ; ptr = ptr->next) {
 		GnmRange const *tmp = ptr->data;
@@ -6036,7 +6036,7 @@ gnm_sheet_get_sort_setups (Sheet *sheet)
 			g_hash_table_new_full 
 			(g_str_hash, g_str_equal, 
 			 g_free, (GDestroyNotify)gnm_sort_data_destroy);
-	
+
 	return hash;
 }
 
@@ -6044,7 +6044,7 @@ void
 gnm_sheet_add_sort_setup (Sheet *sheet, char *key, gpointer setup)
 {
 	GHashTable *hash = gnm_sheet_get_sort_setups (sheet);
-	
+
 	g_hash_table_insert (hash, key, setup);
 }
 
diff --git a/src/sort.c b/src/sort.c
index bda9bd1..5aeb211 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -330,9 +330,9 @@ GnmSortData *
 gnm_sort_data_copy   (GnmSortData *data)
 {
 	GnmSortData *result;
-	
+
 	g_return_val_if_fail (data != NULL, NULL);
-	
+
 	result = g_memdup (data, sizeof (GnmSortData));
 	result->range = g_memdup (result->range, sizeof (GnmRange));
 	result->clauses = g_memdup (result->clauses, 
diff --git a/src/ssconvert.c b/src/ssconvert.c
index 3fa2846..12f5189 100644
--- a/src/ssconvert.c
+++ b/src/ssconvert.c
@@ -607,7 +607,7 @@ convert (char const *inarg, char const *outarg, char const *mergeargs[],
 					char *tmpfile;
 					int idx = 0;
 					res = 0;
-					
+
 					for (ptr = workbook_sheets(wb); ptr && !res; ptr = ptr->next, idx++) {
 						wb_view_sheet_focus(wbv, (Sheet *)ptr->data);
 						s = g_string_new (outfile);
diff --git a/src/stf-parse.c b/src/stf-parse.c
index a1d4971..3483287 100644
--- a/src/stf-parse.c
+++ b/src/stf-parse.c
@@ -1270,7 +1270,7 @@ stf_parse_sheet (StfParseOptions_t *parseoptions,
 	     result && lrow < lines->len;
 	     row++, lrow++) {
 		GPtrArray *line;
-	
+
 		if (row >= gnm_sheet_get_max_rows (sheet)) {
 			if (!parseoptions->rows_exceeded) {
 				/* FIXME: What locale?  */
@@ -1335,7 +1335,7 @@ stf_parse_sheet (StfParseOptions_t *parseoptions,
 		stf_parse_general_free (lines);
 	g_string_chunk_free (lines_chunk);
 	if (result)
-		stf_read_remember_settings (sheet->workbook, parseoptions);	
+		stf_read_remember_settings (sheet->workbook, parseoptions);
 	return result;
 }
 
diff --git a/src/tools/analysis-auto-expression.c b/src/tools/analysis-auto-expression.c
index be970a8..9b0db26 100644
--- a/src/tools/analysis-auto-expression.c
+++ b/src/tools/analysis-auto-expression.c
@@ -48,7 +48,7 @@ analysis_tool_auto_expression_engine_run (data_analysis_output_t *dao,
 				 gnm_expr_new_funcall1
 				 (info->func,
 				  gnm_expr_new_constant (value_dup (data->data))));
-		
+
 		if (info->multiple)
 			dao_set_cell_expr
 				(dao, col, 0,
@@ -62,7 +62,7 @@ analysis_tool_auto_expression_engine_run (data_analysis_output_t *dao,
 				 gnm_expr_new_funcall1
 				 (info->func,
 				  gnm_expr_new_constant (value_dup (data->data))));
-		
+
 		if (info->multiple)
 			dao_set_cell_expr
 				(dao, 0, col,
@@ -105,7 +105,7 @@ analysis_tool_auto_expression_engine (data_analysis_output_t *dao, gpointer spec
 				    1);
 		else
 			dao_adjust (dao, 1,
-				    (info->multiple ? 1 : 0)  + g_slist_length (info->base.input));			
+				    (info->multiple ? 1 : 0)  + g_slist_length (info->base.input));
 		return FALSE;
 	case TOOL_ENGINE_CLEAN_UP:
 		return analysis_tool_auto_expression_engine_clean (specs);
diff --git a/src/tools/analysis-normality.c b/src/tools/analysis-normality.c
index 75e9f0b..a17ac9a 100644
--- a/src/tools/analysis-normality.c
+++ b/src/tools/analysis-normality.c
@@ -84,7 +84,7 @@ analysis_tool_normality_engine_run (data_analysis_output_t *dao,
 		n_comment = N_("For the Shapiro-Francia Test\n"
 			       "the sample size must be at\n"
 			       "least 5 and at most 5000.");
-		break;		
+		break;
 	}
 
 	fd = gnm_func_lookup_or_add_placeholder 
@@ -97,7 +97,7 @@ analysis_tool_normality_engine_run (data_analysis_output_t *dao,
 	dao_set_italic (dao, 0, 0, 0, 5);
         dao_set_cell (dao, 0, 0, _(testname));
 
-	
+
 	if (info->graph) {
 		GogChart     *chart;
 
@@ -113,7 +113,7 @@ analysis_tool_normality_engine_run (data_analysis_output_t *dao,
 		gog_object_add_by_name (GOG_OBJECT (chart),
 					"Plot", GOG_OBJECT (plot));
 	}
-	
+
 
 	/* xgettext:
 	 * Note to translators: in the following string and others like it,
@@ -169,7 +169,7 @@ analysis_tool_normality_engine_run (data_analysis_output_t *dao,
 	if (info->graph) {
 		so = sheet_object_graph_new (graph);
 		g_object_unref (graph);
-		
+
 		dao_set_sheet_object (dao, 0, 1, so);
 	}
 
diff --git a/src/tools/analysis-principal-components.c b/src/tools/analysis-principal-components.c
index 6669060..1272c88 100644
--- a/src/tools/analysis-principal-components.c
+++ b/src/tools/analysis-principal-components.c
@@ -56,7 +56,7 @@ analysis_tool_principal_components_engine_run (data_analysis_output_t *dao,
 	GnmExpr const *expr_count;
 	GnmExpr const *expr_munit;
 	GnmExpr const *expr_and;
-	
+
 	int data_points;
 	GnmExprList *and_args = NULL;
 
@@ -144,7 +144,7 @@ analysis_tool_principal_components_engine_run (data_analysis_output_t *dao,
 
 	for (i = 1, inputdata = info->input; inputdata != NULL; i++, inputdata = inputdata->next) {
 		expr = gnm_expr_new_constant (value_dup (inputdata->data));
-		
+
 		dao_set_cell_expr (dao, i, 3 + l, 
 				   gnm_expr_new_funcall1 (fd_count, gnm_expr_copy (expr)));
 		dao_set_cell_expr (dao, i, 4 + l,  
diff --git a/src/tools/analysis-sign-test.c b/src/tools/analysis-sign-test.c
index 195646a..7f9029e 100644
--- a/src/tools/analysis-sign-test.c
+++ b/src/tools/analysis-sign-test.c
@@ -136,7 +136,7 @@ analysis_tool_sign_test_engine_run (data_analysis_output_t *dao,
 		expr = gnm_expr_new_funcall2
 			(fd_min, expr_neg, expr_pos);
 		dao_set_cell_array_expr (dao, col + 1, 3, expr);
-		
+
 		expr = gnm_expr_new_funcall1
 			(fd_sum, gnm_expr_new_binary 
 			 (expr_isnumber, GNM_EXPR_OP_MULT, 
@@ -242,7 +242,7 @@ analysis_tool_sign_test_two_engine_run (data_analysis_output_t *dao,
 		(fd_median,
 		 gnm_expr_copy (expr_1));
 	dao_set_cell_expr (dao, 1, 1, expr);
-	
+
 	expr = gnm_expr_new_funcall1
 		(fd_median,
 		 gnm_expr_copy (expr_2));
@@ -251,7 +251,7 @@ analysis_tool_sign_test_two_engine_run (data_analysis_output_t *dao,
 	expr_diff = gnm_expr_new_binary (gnm_expr_copy (expr_1), 
 					 GNM_EXPR_OP_SUB,
 					 gnm_expr_copy (expr_2));
-	
+
 	expr_isnumber_1 = gnm_expr_new_funcall3
 		(fd_if, gnm_expr_new_funcall1
 		 (fd_isnumber, expr_1),
@@ -262,7 +262,7 @@ analysis_tool_sign_test_two_engine_run (data_analysis_output_t *dao,
 		 (fd_isnumber, expr_2),
 		 gnm_expr_new_constant (value_new_int (1)),
 		 gnm_expr_new_constant (value_new_int (0)));
-	
+
 	expr_neg = gnm_expr_new_funcall1
 		(fd_sum,
 		 gnm_expr_new_binary
@@ -294,7 +294,7 @@ analysis_tool_sign_test_two_engine_run (data_analysis_output_t *dao,
 	expr = gnm_expr_new_funcall2
 		(fd_min, expr_neg, expr_pos);
 	dao_set_cell_array_expr (dao, 1, 3, expr);
-		
+
 	expr = gnm_expr_new_funcall1
 		(fd_sum, gnm_expr_new_binary
 		 (expr_isnumber_1, GNM_EXPR_OP_MULT,
@@ -320,7 +320,7 @@ analysis_tool_sign_test_two_engine_run (data_analysis_output_t *dao,
 				  (gnm_expr_new_constant (value_new_int (1)),
 				   GNM_EXPR_OP_SUB,
 				   expr)));
-	
+
 	expr = gnm_expr_new_binary (gnm_expr_new_constant (value_new_int (2)),
 				    GNM_EXPR_OP_MULT, make_cellref (0,-1));
 	dao_set_cell_array_expr (dao, 1, 7, expr);
diff --git a/src/tools/analysis-signed-rank-test.c b/src/tools/analysis-signed-rank-test.c
index 30bb3c1..aa136a6 100644
--- a/src/tools/analysis-signed-rank-test.c
+++ b/src/tools/analysis-signed-rank-test.c
@@ -144,7 +144,7 @@ analysis_tool_signed_rank_test_engine_run (data_analysis_output_t *dao,
 					     expr_diff),
 			 expr,
 			 make_int (1));
-		
+
 		dao_set_cell_array_expr 
 			(dao, col + 1, 4,
 			 gnm_expr_new_funcall1
@@ -160,7 +160,7 @@ analysis_tool_signed_rank_test_engine_run (data_analysis_output_t *dao,
 			     make_cellref (0,-2)),
 			    expr,
 			    make_int (0)))));
-		
+
 		expr = gnm_expr_new_funcall1
 			(fd_sum, gnm_expr_new_binary 
 			 (expr_isnumber, GNM_EXPR_OP_MULT, 
@@ -344,7 +344,7 @@ analysis_tool_signed_rank_test_two_engine_run (data_analysis_output_t *dao,
 		  gnm_expr_copy (expr_1),
 		  gnm_expr_new_constant (value_new_string(""))));
 	dao_set_cell_array_expr (dao, 1, 1, expr);
-	
+
 	expr = gnm_expr_new_funcall1
 		(fd_median,
 		 gnm_expr_new_funcall3
@@ -435,9 +435,9 @@ analysis_tool_signed_rank_test_two_engine_run (data_analysis_output_t *dao,
 		    make_cellref (0,-2)),
 		   expr,
 		   make_int (0))));
-	
+
 	dao_set_cell_array_expr (dao, 1, 5, expr);
-		
+
 	dao_set_cell_expr (dao, 1, 6, 
 			   gnm_expr_new_binary 
 			   (gnm_expr_new_binary 
@@ -502,7 +502,7 @@ analysis_tool_signed_rank_test_two_engine_run (data_analysis_output_t *dao,
 		(dao,  1, 9,
 		 _("This p-value is calculated by a normal approximation.\n"
 		   "It is only valid if the sample size is at least 12."));
-	
+
 	expr = gnm_expr_new_binary (make_int (2),
 				    GNM_EXPR_OP_MULT, make_cellref (0,-1));
 	dao_set_cell_array_expr (dao, 1, 10, expr);
diff --git a/src/tools/analysis-tools.c b/src/tools/analysis-tools.c
index 25e3f22..989c6d3 100644
--- a/src/tools/analysis-tools.c
+++ b/src/tools/analysis-tools.c
@@ -579,7 +579,7 @@ analysis_tool_get_function (char const *name,
 			    data_analysis_output_t *dao)
 {
 	GnmFunc *fd;
-	
+
 	fd = gnm_func_lookup_or_add_placeholder 
 		(name, dao->sheet ? dao->sheet->workbook : NULL, FALSE);
 	gnm_func_ref (fd);
@@ -3341,7 +3341,7 @@ analysis_tool_regression_simple_engine_run (data_analysis_output_t *dao,
 	     inputdata = inputdata->next, row++) {
 		GnmValue *val_indep = value_dup (inputdata->data);
 		GnmExpr const *expr_linest;
-		
+
 		dao_set_italic (dao, 0, row, 0, row);
 		analysis_tools_write_a_label (val_indep, dao,
 					      info->base.labels, info->group_by,
@@ -3423,7 +3423,7 @@ analysis_tool_regression_engine (data_analysis_output_t *dao, gpointer specs,
 		range_list_destroy (info->indep_vars);
 		info->indep_vars = NULL;
 		return analysis_tool_generic_b_clean (specs);
-		
+
 	case TOOL_ENGINE_LAST_VALIDITY_CHECK:
 		return FALSE;
 	case TOOL_ENGINE_PREPARE_OUTPUT_RANGE:
diff --git a/src/tools/analysis-wilcoxon-mann-whitney.c b/src/tools/analysis-wilcoxon-mann-whitney.c
index 76f6218..d41a9d8 100644
--- a/src/tools/analysis-wilcoxon-mann-whitney.c
+++ b/src/tools/analysis-wilcoxon-mann-whitney.c
@@ -62,7 +62,7 @@ analysis_tool_wilcoxon_mann_whitney_engine_run (data_analysis_output_t *dao,
 	GSList *input = g_slist_append (NULL, value_dup (info->input->data));
 
 	prepare_input_range (&input, info->group_by);
-	
+
 	fd_count = gnm_func_lookup_or_add_placeholder
 		("COUNT", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
 	gnm_func_ref (fd_count);
@@ -139,7 +139,7 @@ analysis_tool_wilcoxon_mann_whitney_engine_run (data_analysis_output_t *dao,
 		 (fd_min,
 		  gnm_expr_copy (expr_total)),
 		 gnm_expr_copy (expr_pop_2));
-	
+
 	dao_set_cell_array_expr (dao, 1, 2,
 				 gnm_expr_new_binary 
 				 (gnm_expr_new_funcall1
@@ -190,7 +190,7 @@ analysis_tool_wilcoxon_mann_whitney_engine_run (data_analysis_output_t *dao,
 			      gnm_expr_new_constant (value_new_int (1)))),
 			    GNM_EXPR_OP_DIV,
 			    gnm_expr_new_constant (value_new_int (2))));
-	
+
 	dao_set_cell_expr (dao, 1, 3,
 			   gnm_expr_new_funcall1
 			   (fd_count,
@@ -272,7 +272,7 @@ analysis_tool_wilcoxon_mann_whitney_engine_run (data_analysis_output_t *dao,
 			  gnm_expr_new_constant (value_new_int (2))),
 			 expr_sqrt,
 			 gnm_expr_new_constant (value_new_bool (TRUE)));
-		
+
 		dao_set_cell_expr (dao, 1, 6, 
 				   gnm_expr_new_funcall2
 				   (fd_min, 
@@ -283,7 +283,7 @@ analysis_tool_wilcoxon_mann_whitney_engine_run (data_analysis_output_t *dao,
 				   (fd_min, 
 				    make_cellref (0,-3),
 				    make_cellref (1,-3)));
-		
+
 		dao_set_cell_expr (dao, 1, 8, 
 				   gnm_expr_new_binary 
 				   (gnm_expr_new_constant (value_new_int (2)),
diff --git a/src/tools/auto-correct.c b/src/tools/auto-correct.c
index df7907b..9220c65 100644
--- a/src/tools/auto-correct.c
+++ b/src/tools/auto-correct.c
@@ -168,7 +168,7 @@ autocorrect_first_letter_exception (const char *start, const char *end)
 			return TRUE;
 		}
 	}
-	
+
 	g_free (text);
 	return FALSE;
 }
@@ -199,7 +199,7 @@ autocorrect_first_letter (const char *src)
 		else if ((last_end != NULL) && !g_unichar_isspace (this_char)) {
 			if (seen_white) {
 				gunichar new = g_unichar_totitle (this_char);
-				
+
 				if ((this_char != new) && 
 				    !autocorrect_first_letter_exception (src, last_end)) {
 					if (gstr == NULL)
@@ -214,7 +214,7 @@ autocorrect_first_letter (const char *src)
 			last_end = NULL;
 		}
 	}
-	
+
 	if (gstr != NULL) {
 		g_string_append_len (gstr, last_copy, 
 				     strlen (last_copy));
diff --git a/src/tools/filter.c b/src/tools/filter.c
index d292438..b749efa 100644
--- a/src/tools/filter.c
+++ b/src/tools/filter.c
@@ -149,7 +149,7 @@ advanced_filter (WorkbookControl        *wbc,
 	sv_selection_reset (sv);
 	sv_selection_add_range (sv, &r);
 	sv_selection_add_range (sv, &s);
-	
+
 	wb_control_menu_state_update (wbc, MS_FILTER_STATE_CHANGED);
 
 	return analysis_tools_noerr;
@@ -231,7 +231,7 @@ analysis_tool_advanced_filter_engine_run (data_analysis_output_t *dao,
 	if (rows == NULL) {
 		err = analysis_tools_no_records_found;
 		goto finish;
-	}		
+	}
 
 	filter (dao, database->v_range.cell.a.sheet, rows,
 		database->v_range.cell.a.col,
@@ -250,7 +250,7 @@ finish:
 		else
 			dao_set_cell_printf (dao, 0, 0, 
 					     _("An unexpected error has occurred: "
-					       "%d."), err);		
+					       "%d."), err);
 	}
 
 	dao_redraw_respan (dao);
diff --git a/src/tools/gnm-solver.c b/src/tools/gnm-solver.c
index 3c21be3..79df765 100644
--- a/src/tools/gnm-solver.c
+++ b/src/tools/gnm-solver.c
@@ -412,7 +412,7 @@ gnm_solver_param_dup (GnmSolverParameters *src, Sheet *new_sheet)
 	dst->options.add_scenario = src->options.add_scenario;
 
 	g_free (dst->options.scenario_name);
-	dst->options.scenario_name = g_strdup (src->options.scenario_name);	
+	dst->options.scenario_name = g_strdup (src->options.scenario_name);
 
 	gnm_solver_param_set_algorithm (dst, src->options.algorithm);
 
diff --git a/src/tools/random-generator-cor.c b/src/tools/random-generator-cor.c
index cbd0f6e..0939f5a 100644
--- a/src/tools/random-generator-cor.c
+++ b/src/tools/random-generator-cor.c
@@ -52,7 +52,7 @@ tool_random_cor_engine_run (data_analysis_output_t *dao,
 	if (info->matrix_type == random_gen_cor_type_cov) {
 		GnmFunc *fd_cholesky;
 		GnmExpr const *expr_cholesky;
-	
+
 		fd_cholesky = gnm_func_lookup_or_add_placeholder 
 			("CHOLESKY", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
 		gnm_func_ref (fd_cholesky);
@@ -74,7 +74,7 @@ tool_random_cor_engine_run (data_analysis_output_t *dao,
 	dao_set_merge (dao, 0, 0, info->variables - 1, 0);
 	dao_set_italic (dao, 0, 0, 0, 0);
 	dao_set_cell (dao, 0, 0, _("Uncorrelated Random Variables"));
-	
+
 	fd_rand = gnm_func_lookup_or_add_placeholder 
 			("RANDNORM", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
 	gnm_func_ref (fd_rand);
@@ -109,7 +109,7 @@ tool_random_cor_engine_run (data_analysis_output_t *dao,
 	for (j = 1; j <= info->count; j++)
 		dao_set_array_expr (dao, 0, j, info->variables, 1, 
 				    gnm_expr_copy (expr_rand));
-	
+
 	gnm_expr_free (expr_rand);
 
 	gnm_func_unref (fd_mmult);
diff --git a/src/validation.c b/src/validation.c
index a71ee0e..9abfd6a 100644
--- a/src/validation.c
+++ b/src/validation.c
@@ -531,7 +531,7 @@ validation_eval_range_cb (GnmCellIter const *iter, validation_eval_t *closure)
 					  &showed_dialog);
 		if (closure->showed_dialog)
 			*closure->showed_dialog = *closure->showed_dialog || showed_dialog;
-		
+
 		if (status != VALIDATION_STATUS_VALID) {
 			closure->status = status;
 			return VALUE_TERMINATE;
diff --git a/src/wbc-gtk-actions.c b/src/wbc-gtk-actions.c
index 1a2b1f0..9342535 100644
--- a/src/wbc-gtk-actions.c
+++ b/src/wbc-gtk-actions.c
@@ -369,7 +369,7 @@ static GNM_ACTION_DEF (cb_edit_delete_links)
 		for (l = scg_view (scg)->selections; l != NULL; l = l->next) {
 			GnmRange const *r = l->data;
 			GnmStyleList *styles;
-			
+
 			styles = sheet_style_collect_hlinks (sheet, r);
 			n_links += g_slist_length (styles);
 			style_list_free (styles);
@@ -735,14 +735,14 @@ static GNM_ACTION_DEF (cb_view_freeze_panes)
 				}
 			}
 		} 
-			
+
                 /* If edit pos is out of visible range */
 		if (unfrozen_tl.col < pane->first.col ||
 		    unfrozen_tl.col > pane->last_visible.col ||
 		    unfrozen_tl.row < pane->first.row ||
 		    unfrozen_tl.row > pane->last_visible.row)
 			center = TRUE;
-		
+
 		if (unfrozen_tl.col == pane->first.col) {
 			/* or edit pos is in top left visible cell */
 			if (unfrozen_tl.row == pane->first.row)
@@ -751,17 +751,17 @@ static GNM_ACTION_DEF (cb_view_freeze_panes)
 				unfrozen_tl.col = frozen_tl.col = 0;
 		} else if (unfrozen_tl.row == pane->first.row)
 			unfrozen_tl.row = frozen_tl.row = 0;
-		
+
 		if (center) {
 			unfrozen_tl.col = (pane->first.col + 
 					   pane->last_visible.col) / 2;
 			unfrozen_tl.row = (pane->first.row + 
 					   pane->last_visible.row) / 2;
 		}
-		
+
 		g_return_if_fail (unfrozen_tl.col > frozen_tl.col ||
 				  unfrozen_tl.row > frozen_tl.row);
-		
+
 		sv_freeze_panes (sv, &frozen_tl, &unfrozen_tl);
 	} else
 		sv_freeze_panes (sv, NULL, NULL);
@@ -1190,7 +1190,7 @@ sort_by_rows (WBCGtk *wbcg, gboolean descending)
 	} else {
 		sel = gnm_range_dup (tmp);
 		range_clip_to_finite (sel, sv_sheet (sv));
-		
+
 		numclause = range_width (sel);
 		clause = g_new0 (GnmSortClause, numclause);
 		for (i = 0; i < numclause; i++) {
diff --git a/src/wbc-gtk-edit.c b/src/wbc-gtk-edit.c
index c827389..9178eec 100644
--- a/src/wbc-gtk-edit.c
+++ b/src/wbc-gtk-edit.c
@@ -148,7 +148,7 @@ wbcg_edit_finish (WBCGtk *wbcg, WBCEditResult result,
 		parse_pos_init_editpos (&pp, sv);
 
 		/******* Check whether we would split a range ********/
-		
+
 		switch (result) {
 		case (WBC_EDIT_ACCEPT_RANGE):
 		case (WBC_EDIT_ACCEPT_ARRAY): {
@@ -180,7 +180,7 @@ wbcg_edit_finish (WBCGtk *wbcg, WBCEditResult result,
 
 
 		/******* Check whether the range is locked ********/
-		
+
 		switch (result) {
 		case (WBC_EDIT_ACCEPT_RANGE):
 		case (WBC_EDIT_ACCEPT_ARRAY): {
@@ -229,7 +229,7 @@ wbcg_edit_finish (WBCGtk *wbcg, WBCEditResult result,
 		if (expr_txt != NULL && *expr_txt != '\0' && strcmp (expr_txt, "-")) {
 			GnmExprTop const *texpr_test = NULL;
 			GnmParseError  perr;
-			
+
 
 			parse_error_init (&perr);
 			texpr_test = gnm_expr_parse_str (expr_txt,
@@ -304,13 +304,13 @@ wbcg_edit_finish (WBCGtk *wbcg, WBCEditResult result,
 			else {
 				GnmParsePos    pp_array;
 				GnmRange *r = selection->data;
-				
+
 				parse_pos_init (&pp_array, sheet->workbook, sheet, r->start.col, r->start.row);
-					
+
 				if ((texpr = gnm_expr_parse_str
 				     (expr_txt, &pp_array, GNM_EXPR_PARSE_DEFAULT,
 				      sheet_get_conventions (sheet), NULL)) == NULL)
-					result = WBC_EDIT_ACCEPT_RANGE;	
+					result = WBC_EDIT_ACCEPT_RANGE;
 			}
 		}
 
@@ -348,7 +348,7 @@ wbcg_edit_finish (WBCGtk *wbcg, WBCEditResult result,
 							    r->end.col, r->end.row,
 							    texpr);
 				sheet_region_queue_recalc (sheet, r);
-			}			
+			}
 			valid =	validation_eval_range (wbc, sheet, &sv->edit_pos, r,
 						       showed_dialog);
 			break;
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index a973f7d..6e5a6d8 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -1657,7 +1657,7 @@ wbcg_menu_state_update (WorkbookControl *wbc, int flags)
 			(wbcg, "EditClearHyperlinks", has_links);
 		wbc_gtk_set_action_sensitivity 
 			(wbcg, "EditClearComments", has_comments);
-	}		
+	}
 	{
 		gboolean const has_slicer = (NULL != sv_editpos_in_slicer (sv));
 		char const* label = has_slicer
@@ -2411,7 +2411,7 @@ wbc_gtk_cell_selector_popup (G_GNUC_UNUSED GtkEntry *entry,
 {
 	if (event->type == GDK_BUTTON_PRESS) {
 		WBCGtk *wbcg = data;
-		
+
 		struct CellSelectorMenu {
 			gchar const *text;
 			gchar const *stock_id;
@@ -2443,7 +2443,7 @@ wbc_gtk_cell_selector_popup (G_GNUC_UNUSED GtkEntry *entry,
 						(_(it->text));
 			} else
 				item = gtk_separator_menu_item_new ();
-			
+
 			if (it->function)
 				g_signal_connect_swapped 
 					(G_OBJECT (item), "activate",
@@ -2452,7 +2452,7 @@ wbc_gtk_cell_selector_popup (G_GNUC_UNUSED GtkEntry *entry,
 			gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
 			gtk_widget_show (item);
 		}
-		
+
 		gnumeric_popup_menu (GTK_MENU (menu), &event->button);
 	}
 }
@@ -4409,7 +4409,7 @@ cb_auto_expr_insert_formula (WBCGtk *wbcg, gboolean below)
 		if (use_last_cr)
 			input->end.col--;
 	}
-	
+
 
 	dao = dao_init (NULL, RangeOutput);
 	dao->start_col         = output.start.col;
@@ -5489,7 +5489,7 @@ wbc_gtk_init (GObject *obj)
 	if (extra_actions)
 		gtk_action_group_add_actions (wbcg->actions, extra_actions,
 			                      extra_actions_nb, wbcg);
-		
+
 	uifile = g_build_filename (gnm_sys_data_dir (),
 		(uifilename? uifilename: "GNOME_Gnumeric-gtk.xml"), NULL);
 #endif
diff --git a/src/workbook-control.c b/src/workbook-control.c
index fa95d99..5b3cdba 100644
--- a/src/workbook-control.c
+++ b/src/workbook-control.c
@@ -319,7 +319,7 @@ wb_control_navigate_to_cell (WorkbookControl *wbc, wb_control_navigator_t to)
 	region = *first;
 	gnm_sheet_guess_data_range (sheet, &region);
 	range_ensure_sanity (&region, sheet);
-	
+
 	switch (to) {
 	case navigator_top:
 		region.end.row = region.start.row;
diff --git a/src/workbook-control.h b/src/workbook-control.h
index f41328a..45611f9 100644
--- a/src/workbook-control.h
+++ b/src/workbook-control.h
@@ -89,7 +89,7 @@ typedef enum {
 	navigator_top,
 	navigator_bottom,
 	navigator_last,
-	navigator_first	
+	navigator_first
 } wb_control_navigator_t;
 
 void wb_control_navigate_to_cell (WorkbookControl *wbc, wb_control_navigator_t to);
diff --git a/tools/ChangeLog b/tools/ChangeLog
index c8558fd..0befc35 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -251,7 +251,7 @@
 2006-11-11  Morten Welinder  <terra gnome org>
 
 	* grand-rename: Figure out the replacement text automatically.
-	
+
 2006-11-02  Morten Welinder  <terra gnome org>
 
 	* check-gfrees: New checker.



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