]> git.lyx.org Git - lyx.git/blobdiff - src/Literate.C
more changes, read the Changelog
[lyx.git] / src / Literate.C
index f23042cdbcea9792d8da417e67edaeaf2d707c06..7443d01cfd1ad6d78464dcc0ede39a3c7c32d462 100644 (file)
@@ -3,7 +3,7 @@
  * 
  *           LyX, The Document Processor        
  *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ *           Copyright 1995-2000 The LyX Team.
  *
  * ====================================================== 
  */
@@ -29,6 +29,8 @@
 #include "gettext.h"
 
 using std::ifstream;
+using std::getline;
+using std::endl;
 
 extern BufferList bufferlist;
 
@@ -122,7 +124,7 @@ int Literate::scanLiterateLogFile()
                         retval |= LATEX_ERROR;
                         lyxerr[Debug::LATEX] << "Build Error." << endl;
                         // this is not correct yet
-                        num_errors++;
+                        ++num_errors;
                 }
         }       
         return retval;
@@ -151,7 +153,7 @@ int Literate::scanBuildLogFile()
                         retval |= LATEX_ERROR;
                         lyxerr[Debug::LATEX] << "Build Error." << endl;
                         // this is not correct yet
-                        num_errors++;
+                        ++num_errors;
                 }
         }       
         return retval;