projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41b4df
)
Got the last test working
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 28 Feb 2013 19:03:34 +0000
(20:03 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 28 Feb 2013 19:03:34 +0000
(20:03 +0100)
src/data/ods-reader.c
patch
|
blob
|
history
diff --git
a/src/data/ods-reader.c
b/src/data/ods-reader.c
index 158a2735aca501ac69cedd727d193e086e3d3749..8776a5e2c35e123fb4f30f5a3b0509e6eed71630 100644
(file)
--- a/
src/data/ods-reader.c
+++ b/
src/data/ods-reader.c
@@
-646,7
+646,6
@@
ods_make_reader (struct spreadsheet *spreadsheet,
process_node (r);
}
-
if (ret < 1)
{
msg (MW, _("Selected sheet or range of spreadsheet `%s' is empty."),
@@
-711,6
+710,9
@@
ods_make_reader (struct spreadsheet *spreadsheet,
int idx;
process_node (r);
+ if ( ! reading_target_sheet (r) )
+ break;
+
/* If the row is finished then stop for now */
if (r->state == STATE_TABLE &&
r->row > r->start_row + (opts->read_names ? 1 : 0))