Commit 4673043a authored by Jody Goldberg's avatar Jody Goldberg

Prefer 'workbook' to 'book' so that we get a Biff8 file for dual stream

files.
parent 982bd480
1999-09-21 Jody Goldberg <jgoldberg@home.com>
* ms-excel-read.c (ms_excel_read_workbook) : Prefer 'workbook' to
'book' so that we use Biff8 for dual stream files.
1999-09-20 Michael Meeks <michael@nuclecu.unam.mx>
* ms-formula-write.c (formula_cache_new_std): Split.
......
......@@ -2783,14 +2783,13 @@ ms_excel_read_workbook (Workbook *workbook, MsOle *file)
int current_sheet = 0;
cell_deep_freeze_redraws ();
/* cell_deep_freeze_dependencies (); */
/* Find that book file */
result = ms_ole_stream_open (&stream, file, "/", "book", 'r');
result = ms_ole_stream_open (&stream, file, "/", "workbook", 'r');
if (result != MS_OLE_ERR_OK) {
ms_ole_stream_close (&stream);
result = ms_ole_stream_open (&stream, file, "/", "workbook", 'r');
result = ms_ole_stream_open (&stream, file, "/", "book", 'r');
if (result != MS_OLE_ERR_OK) {
ms_ole_stream_close (&stream);
g_warning ("No Excel stream found: wierd");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment