changeset 24691:b658e0fa0cb3

maint: Remove trailing whitespace from files. NEWS, expr.txi, geometry.txi, image.txi, Figure.cc, GLCanvas.cc, sysdep.cc, op-kw-docs, isprop.m, func.tst, leftdiv.tst: Remove trailing whitespace.
author Rik <rik@octave.org>
date Tue, 06 Feb 2018 10:24:08 -0800
parents 2ce26c4cb323
children fa56428a2e91
files NEWS doc/interpreter/expr.txi doc/interpreter/geometry.txi doc/interpreter/image.txi libgui/graphics/Figure.cc libgui/graphics/GLCanvas.cc libinterp/corefcn/sysdep.cc libinterp/op-kw-docs scripts/plot/util/isprop.m test/func.tst test/leftdiv.tst
diffstat 11 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Tue Jan 23 17:05:13 2018 -0500
+++ b/NEWS	Tue Feb 06 10:24:08 2018 -0800
@@ -100,7 +100,7 @@
       prctile.m
       probit.m
       qqplot.m
-    
+
     DISTRIBUTIONS
       betacdf.m
       betainv.m
--- a/doc/interpreter/expr.txi	Tue Jan 23 17:05:13 2018 -0500
+++ b/doc/interpreter/expr.txi	Tue Feb 06 10:24:08 2018 -0800
@@ -151,7 +151,7 @@
 size of the current array, then the last @w{@code{nd - nidx + 1}} dimensions
 are folded into a single dimension with an extent equal to the product of
 extents of the original dimensions.  This is easiest to understand with an
-example.  
+example.
 
 @example
 A = reshape (1:8, 2, 2, 2)  # Create 3-D array
--- a/doc/interpreter/geometry.txi	Tue Jan 23 17:05:13 2018 -0500
+++ b/doc/interpreter/geometry.txi	Tue Feb 06 10:24:08 2018 -0800
@@ -176,7 +176,7 @@
 
 @example
 @group
-@var{beta}(1:end-1) = (@var{p} - @var{t}(end, :)) / 
+@var{beta}(1:end-1) = (@var{p} - @var{t}(end, :)) /
                 (@var{t}(1:end-1, :) - ones (@var{N}, 1) * @var{t}(end, :))
 @var{beta}(end) = sum (@var{beta}(1:end-1))
 @end group
--- a/doc/interpreter/image.txi	Tue Jan 23 17:05:13 2018 -0500
+++ b/doc/interpreter/image.txi	Tue Feb 06 10:24:08 2018 -0800
@@ -253,7 +253,7 @@
 
 Octave supports conversion from the RGB color system to the HSV color system
 and vice versa.  It is also possible to convert from a color RGB image to a
-grayscale image. 
+grayscale image.
 
 @DOCSTRING(rgb2hsv)
 
--- a/libgui/graphics/Figure.cc	Tue Jan 23 17:05:13 2018 -0500
+++ b/libgui/graphics/Figure.cc	Tue Feb 06 10:24:08 2018 -0800
@@ -435,11 +435,11 @@
 
     if (fp.is___printing__ ())
       return;
-    
+
     QMainWindow *win = qWidget<QMainWindow> ();
 
     m_blockUpdates = true;
-    
+
     switch (pId)
       {
       case figure::properties::ID_POSITION:
@@ -476,7 +476,7 @@
                 gh_manager::auto_lock lock;
                 fp.set ("__gl_window__", "on");
               }
-          }                
+          }
         else
           win->hide ();
         break;
--- a/libgui/graphics/GLCanvas.cc	Tue Jan 23 17:05:13 2018 -0500
+++ b/libgui/graphics/GLCanvas.cc	Tue Feb 06 10:24:08 2018 -0800
@@ -117,7 +117,7 @@
         octave::opengl_selector s;
 
         s.set_viewport (width (), height ());
-        return s.select (ax, pt.x (), height () - pt.y (), 
+        return s.select (ax, pt.x (), height () - pt.y (),
                          octave::select_ignore_hittest);
       }
 
--- a/libinterp/corefcn/sysdep.cc	Tue Jan 23 17:05:13 2018 -0500
+++ b/libinterp/corefcn/sysdep.cc	Tue Feb 06 10:24:08 2018 -0800
@@ -723,7 +723,7 @@
                               RRF_RT_ANY, &type, nullptr, &length);
   if (result != ERROR_SUCCESS)
     return result;
-  
+
   if (type == REG_DWORD)
     {
       OCTAVE_LOCAL_BUFFER (DWORD, data, length);
--- a/libinterp/op-kw-docs	Tue Jan 23 17:05:13 2018 -0500
+++ b/libinterp/op-kw-docs	Tue Feb 06 10:24:08 2018 -0800
@@ -759,7 +759,7 @@
 commands within the unwind_protect_cleanup block are executed before the error
 is thrown.  If an error is not thrown, then the unwind_protect_cleanup block is
 still executed.  In other words, the unwind_protect_cleanup code is guaranteed
-to execute regardless of success or failure in the unwind_protect block. 
+to execute regardless of success or failure in the unwind_protect block.
 @seealso{unwind_protect_cleanup, try}
 @end deftypefn
 unwind_protect_cleanup
--- a/scripts/plot/util/isprop.m	Tue Jan 23 17:05:13 2018 -0500
+++ b/scripts/plot/util/isprop.m	Tue Feb 06 10:24:08 2018 -0800
@@ -41,7 +41,7 @@
   oldwarn = warning ("error", "Octave:abbreviated-property-match");
   [olderr, oldid] = lasterr ();
   restore_lasterr = false;
-  
+
   res = false (size (obj));
   for i = 1:numel (res)
     if (ishghandle (obj(i)))
@@ -53,11 +53,11 @@
       end_try_catch
     endif
   endfor
-  
+
   if (restore_lasterr)
     lasterr (olderr, oldid);
   endif
-  
+
   warning (oldwarn);
 
 endfunction
--- a/test/func.tst	Tue Jan 23 17:05:13 2018 -0500
+++ b/test/func.tst	Tue Feb 06 10:24:08 2018 -0800
@@ -191,16 +191,16 @@
 %!test
 %! __fntestfunc__ ("rotdim", m3, 1, [1, 2]);
 
-## Check for error if function parameter is made persistent 
+## Check for error if function parameter is made persistent
 %!function retval = __fnpersist1__ (in1)
 %!  persistent retval;
-%!  
+%!
 %!  retval = 1;
 %!endfunction
 
 %!function retval = __fnpersist2__ (in1)
 %!  persistent in1;
-%!  
+%!
 %!  retval = in1;
 %!endfunction
 
--- a/test/leftdiv.tst	Tue Jan 23 17:05:13 2018 -0500
+++ b/test/leftdiv.tst	Tue Feb 06 10:24:08 2018 -0800
@@ -19,7 +19,7 @@
 ## There are many corner cases for left division operator
 %!assert (0 \ 1, Inf)
 %!assert (0 \ single (1), single (Inf))
-## FIXME: Should return Inf, but not coded correctly yet. 
+## FIXME: Should return Inf, but not coded correctly yet.
 %#!assert (0 \ i, Inf)
 %#!assert (0 \ single (i), single (Inf))