]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.C
final(?) tweaks for removeAutoInsets() and removed one redundant conditional clause...
[lyx.git] / src / lastfiles.C
index 588a46d29c60e67b09e0a791fc82b01ec1990bfc..a3b72d408fd87d44ebfd2e2b20418a6bac4ca31c 100644 (file)
@@ -4,7 +4,7 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #pragma implementation
 #endif
 
-#include <fstream>
-#include <algorithm>
-
-#include "support/FileInfo.h"
 #include "lastfiles.h"
 #include "debug.h"
 
+#include "support/FileInfo.h"
+
+#include <fstream>
+#include <algorithm>
+#include <iterator>
+
 using std::getline;
 using std::endl;
 
@@ -55,7 +57,7 @@ void LastFiles::readFile(string const & filename)
        string tmp;
        FileInfo fileInfo;
 
-       while(getline(ifs, tmp) && files.size() < num_files) {
+       while (getline(ifs, tmp) && files.size() < num_files) {
                if (dostat) {
                        if (!(fileInfo.newFile(tmp).exist() &&
                              fileInfo.isRegular()))