]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.cpp
listerrors.lyx : Update a link.
[lyx.git] / src / DepTable.cpp
index 17eab19fb3af58d927d7287a29aebe28a04da06f..fdbbd46a0665dc504ff67508cb41208b8a39f5b6 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author Ben Stanley
  *
@@ -15,7 +15,6 @@
 #include "DepTable.h"
 
 #include "support/debug.h"
-#include "support/lyxlib.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/lyxtime.h"
@@ -131,7 +130,7 @@ bool DepTable::extchanged(string const & ext) const
        DepList::const_iterator cit = deplist.begin();
        DepList::const_iterator end = deplist.end();
        for (; cit != end; ++cit) {
-               if (suffixIs(cit->first.absFilename(), ext)) {
+               if (suffixIs(cit->first.absFileName(), ext)) {
                        if (cit->second.changed())
                                return true;
                }
@@ -145,7 +144,7 @@ bool DepTable::ext_exist(string const & ext) const
        DepList::const_iterator cit = deplist.begin();
        DepList::const_iterator end = deplist.end();
        for (; cit != end; ++cit) {
-               if (suffixIs(cit->first.absFilename(), ext)) {
+               if (suffixIs(cit->first.absFileName(), ext)) {
                        return true;
                }
        }
@@ -164,7 +163,7 @@ void DepTable::remove_files_with_extension(string const & suf)
        DepList::iterator cit = deplist.begin();
        DepList::iterator end = deplist.end();
        while (cit != end) {
-               if (suffixIs(cit->first.absFilename(), suf)) {
+               if (suffixIs(cit->first.absFileName(), suf)) {
                        // Can't erase the current iterator, but we
                        // can increment and then erase.
                        // Deplist is a map so only the erased