changeset 12480:2016e77d83ca octave-forge

Remove debug message
author prnienhuis
date Sun, 11 May 2014 18:44:01 +0000
parents 9f6ce83052bd
children 8dce803a631a
files main/io/inst/private/__OXS_spsh_close__.m
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/private/__OXS_spsh_close__.m	Sun May 11 18:43:38 2014 +0000
+++ b/main/io/inst/private/__OXS_spsh_close__.m	Sun May 11 18:44:01 2014 +0000
@@ -23,7 +23,8 @@
 ## 2013-01-20 Adapted to ML-compatible Java calls
 ## 2013-12-06 Updated copyright string
 ## 2013-12-28 Style fixes
-##     ''     Moved wb close statement down to always unlock file
+##     ''     Moved wb close statement down to always unlock file
+## 2014-05-11 Silence when saving new file
 
 function [ xls ] = __OXS_spsh_close__ (xls)
 
@@ -34,9 +35,9 @@
         fname = xls.filename;
       endif
       try
-        if (xls.changed == 2)
-          printf ("Saving file %s...\n", fname);
-        endif
+##      if (xls.changed == 2)
+##        printf ("Saving file %s...\n", fname);
+##      endif
         xlsout = javaObject ("java.io.FileOutputStream", fname);
         xls.workbook.write (xlsout);
         xlsout.close ();