changeset 12397:6f733e4a09bd octave-forge

Style fixes
author prnienhuis
date Mon, 17 Mar 2014 22:16:19 +0000
parents fa3fb3268caa
children 5911a25e1d6b
files main/io/inst/xls2oct.m
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/xls2oct.m	Mon Mar 17 22:15:35 2014 +0000
+++ b/main/io/inst/xls2oct.m	Mon Mar 17 22:16:19 2014 +0000
@@ -1,4 +1,4 @@
-## Copyright (C) 2009,2010,2011,2012,2013 Philip Nienhuis <prnienhuis at users.sf.net>
+## Copyright (C) 2009,2010,2011,2012,2013,2014 Philip Nienhuis
 ##
 ## This program is free software; you can redistribute it and/or modify it under
 ## the terms of the GNU General Public License as published by the Free Software
@@ -112,7 +112,7 @@
 ##
 ## @end deftypefn
 
-## Author: Philip Nienhuis
+## Author: Philip Nienhuis <prnienhuis at users.sf.net>
 ## Created: 2010-10-16
 ## Updates: 
 ## 2009-01-03 (added OOXML support & cleaned up code. Excel 
@@ -141,6 +141,7 @@
 ## 2013-10-02 Delete ODS section
 ## 2013-11-02 Added rstatus return arg for __OCT_xlsx2oct__.m
 ## 2013-11-08 Added spsh_opts arg for __OCT_xls2oct__.m
+## 2014-02-08 Style fixes
 ##
 ## Latest subfunc update: 2012-10-12
 
@@ -150,7 +151,7 @@
   if (~isstruct (xls))
     error ("File ptr struct expected for arg @ 1"); 
   endif
-  test1 = ~isfield (xls, "xtype");
+  test1 = ! isfield (xls, "xtype");
   test1 = test1 || ~isfield (xls, "workbook");
   test1 = test1 || isempty (xls.workbook);
   test1 = test1 || isempty (xls.app);