]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
Fix copy&paste bug.
[lyx.git] / src / Converter.cpp
index 3108d6d286d057bf5ad79f7c3c0f3dfbf190ce00..326115575fba79ae1aa8aa064692af698a2ba316 100644 (file)
@@ -50,7 +50,6 @@ using support::contains;
 using support::dirList;
 using support::FileName;
 using support::getExtension;
-using support::isFileReadable;
 using support::libFileSearch;
 using support::libScriptSearch;
 using support::makeAbsPath;
@@ -323,7 +322,7 @@ bool Converters::convert(Buffer const * buffer,
                                << command << endl;
                        Systemcall one;
                        one.startscript(Systemcall::Wait, command);
-                       if (isFileReadable(to_file)) {
+                       if (to_file.isFileReadable()) {
                                if (conversionflags & try_cache)
                                        ConverterCache::get().add(orig_from,
                                                        to_format, to_file);