]> git.lyx.org Git - lyx.git/commitdiff
Fix tex2lyx for the isFileReadable change
authorBo Peng <bpeng@lyx.org>
Fri, 19 Oct 2007 01:14:57 +0000 (01:14 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 19 Oct 2007 01:14:57 +0000 (01:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21049 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/tex2lyx.cpp

index 2c5f0db1f709fe2d2bdf4d157c3bfd085d34d938..f2af56d9a7c5b28d64c6c683f4b6f232f4978701 100644 (file)
@@ -65,7 +65,6 @@ using support::makeAbsPath;
 using support::onlyPath;
 using support::os::internal_path;
 using support::rtrim;
-using support::isFileReadable;
 
 namespace fs = boost::filesystem;
 
@@ -473,7 +472,7 @@ bool tex2lyx(FileName const & infilename, std::ostream &os)
 
 bool tex2lyx(string const &infilename, FileName const &outfilename)
 {
-       if (isFileReadable(outfilename)) {
+       if (outfilename.isFileReadable()) {
                if (overwrite_files) {
                        cerr << "Overwriting existing file "
                             << outfilename << endl;