Fixed bug importing ODS files.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Feb 2014 14:07:31 +0000 (15:07 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Feb 2014 14:07:31 +0000 (15:07 +0100)
commitea5c4e8eb004d6414d03b65bd3407cc7ad3e2dfd
treeee22e2895abcc0ea3022938c08ff9ca3e4f57765
parenteb06da6a334bc37108cdce9bfc7f26cfcb2003ee
Fixed bug importing ODS files.

There was a typo which caused the import of ODS files in the gui to
not properly function.  This change fixes the typo, but also re-arranges
the code such that similar errors are less likely to go unnoticed in the
future.  It also brings the code more in concord with the GNU Coding
Standards (which were written that way exactly to prevent these errors).

Fixes bug #41657
NEWS
src/data/spreadsheet-reader.c