changeset 12268:f952efc4dadf octave-forge

Shuffled code around to file type order
author prnienhuis
date Wed, 01 Jan 2014 21:29:49 +0000
parents 67035503ba3b
children 1071f03fc1aa
files main/io/inst/private/__OCT_spsh_open__.m
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/private/__OCT_spsh_open__.m	Wed Jan 01 21:29:16 2014 +0000
+++ b/main/io/inst/private/__OCT_spsh_open__.m	Wed Jan 01 21:29:49 2014 +0000
@@ -73,7 +73,9 @@
     fid = fopen (sprintf ('%s/xl/workbook.xml', tmpdir));
     if (fid < 0)
       ## File open error
-      error ("xls2oct: file %s couldn't be unzipped", filename);
+      warning ("xls2oct: file %s couldn't be unzipped", filename);
+      xls = [];
+      return
     else
       ## Fill xlsx pointer 
       xls.workbook          = tmpdir;       # subdir containing content.xml