]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/frontend_helpers.cpp
Move Color::color enum to ColorCode.h
[lyx.git] / src / frontends / frontend_helpers.cpp
index bf319d488dc06b7df76d151a902644c5f51e8218..371a727fc7ec7d9c97ac2be9bf842f3fd2567c18 100644 (file)
@@ -45,7 +45,6 @@ using support::bformat;
 using support::FileFilterList;
 using support::FileName;
 using support::getExtension;
-using support::getFileContents;
 using support::getVectorFromString;
 using support::libFileSearch;
 using support::makeAbsPath;
@@ -227,7 +226,7 @@ void getTexFileList(string const & filename, std::vector<string> & list)
        if (file.empty())
                return;
 
-       list = getVectorFromString(getFileContents(file), "\n");
+       list = getVectorFromString(file.fileContents(), "\n");
 
        // Normalise paths like /foo//bar ==> /foo/bar
        boost::RegEx regex("/{2,}");