diff libgui/src/qtinfo/parser.cc @ 20955:77f5591878bf

maint: Use '! expr' rather than '!expr' to conform to coding guidelines. * dialog.h, documentation-dock-widget.cc, files-dock-widget.cc, find-files-dialog.cc, file-editor-tab.cc, file-editor.cc, find-dialog.cc, octave-qscintilla.cc, main-window.cc, parser.cc, resource-manager.cc, workspace-view.cc, data.cc, dlmread.cc, gl-render.cc, gl2ps-renderer.cc, graphics.cc, graphics.in.h, ls-hdf5.cc, ls-mat5.cc, ls-oct-binary.cc, lsode.cc, mappers.cc, pt-jit.cc, regexp.cc, spparms.cc, symtab.h, utils.cc, zfstream.cc, __eigs__.cc, __glpk__.cc, __init_fltk__.cc, ccolamd.cc, colamd.cc, ov-base-diag.cc, ov-base-int.cc, ov-base-sparse.cc, ov-bool-mat.cc, ov-bool-sparse.cc, ov-bool.cc, ov-class.cc, ov-cx-sparse.cc, ov-fcn-handle.cc, ov-fcn-inline.cc, ov-java.cc, ov-perm.cc, ov-re-sparse.cc, ov-str-mat.cc, ov-struct.cc, ov.cc, pt-mat.cc, Array.cc, Array.h, CMatrix.cc, CSparse.cc, MatrixType.cc, PermMatrix.cc, Sparse.h, dMatrix.cc, dSparse.cc, fCMatrix.cc, fMatrix.cc, idx-vector.cc, CollocWt.h, SparseCmplxLU.cc, SparseCmplxQR.cc, SparseQR.cc, SparsedbleLU.cc, base-qr.cc, eigs-base.cc, oct-fftw.cc, randmtzig.c, sparse-dmsolve.cc, kpse.cc, lo-regexp.cc, oct-locbuf.h, url-transfer.cc, url-transfer.h, bitset.m, interp2.m, __isequal__.m, inpolygon.m, questdlg.m, help.m, compare_versions.m, substruct.m, configure_make.m, whitebg.m, __marching_cube__.m, struct2hdl.m, polyfit.m, spline.m, unique.m, svds.m, ellipke.m, binoinv.m, hygepdf.m, nbininv.m, poissinv.m, tcdf.m, unidcdf.m, unidpdf.m, dec2base.m, assert.m, weekday.m, mkoctfile.in.cc: maint: Use '! expr' rather than '!expr' to conform to coding guidelines.
author Rik <rik@octave.org>
date Sun, 20 Dec 2015 10:15:02 -0800
parents ded81845c597
children 710e700cdd7f
line wrap: on
line diff
--- a/libgui/src/qtinfo/parser.cc	Sun Dec 20 08:19:58 2015 -0800
+++ b/libgui/src/qtinfo/parser.cc	Sun Dec 20 10:15:02 2015 -0800
@@ -114,7 +114,7 @@
       QBuffer *io = new QBuffer (this);
       io->setData (result);
 
-      if (!io->open (QIODevice::ReadOnly | QIODevice::Text))
+      if (! io->open (QIODevice::ReadOnly | QIODevice::Text))
         return 0;
 
       iodevice = io;
@@ -122,7 +122,7 @@
   else
     {
       QFile *io = new QFile (file_info.absoluteFilePath ());
-      if (!io->open (QIODevice::ReadOnly | QIODevice::Text))
+      if (! io->open (QIODevice::ReadOnly | QIODevice::Text))
         return 0;
       iodevice = io;
     }
@@ -176,7 +176,7 @@
       seek (io, realPos);
 
       QString text = get_next_node (io);
-      if (!text.isEmpty())
+      if (! text.isEmpty())
         {
           return text;
         }
@@ -191,7 +191,7 @@
 QString
 parser::search_node (const QString& node, QIODevice *io)
 {
-  while (!io->atEnd ())
+  while (! io->atEnd ())
     {
       QString text = get_next_node (io);
       if (node == get_node_name (text))
@@ -211,7 +211,7 @@
   char c;
   int i;
 
-  while (!io->atEnd ())
+  while (! io->atEnd ())
     {
       io->getChar (&c);
       if (c)
@@ -555,7 +555,7 @@
 parser::seek (QIODevice *io, int pos)
 {
   char ch;
-  while (!io->atEnd () && pos > 0)
+  while (! io->atEnd () && pos > 0)
     {
       io->getChar (&ch);
       pos--;