mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix tex2lyx for the isFileReadable change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21049 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a02653e4dd
commit
2e953e8aad
@ -65,7 +65,6 @@ using support::makeAbsPath;
|
|||||||
using support::onlyPath;
|
using support::onlyPath;
|
||||||
using support::os::internal_path;
|
using support::os::internal_path;
|
||||||
using support::rtrim;
|
using support::rtrim;
|
||||||
using support::isFileReadable;
|
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
|
||||||
@ -473,7 +472,7 @@ bool tex2lyx(FileName const & infilename, std::ostream &os)
|
|||||||
|
|
||||||
bool tex2lyx(string const &infilename, FileName const &outfilename)
|
bool tex2lyx(string const &infilename, FileName const &outfilename)
|
||||||
{
|
{
|
||||||
if (isFileReadable(outfilename)) {
|
if (outfilename.isFileReadable()) {
|
||||||
if (overwrite_files) {
|
if (overwrite_files) {
|
||||||
cerr << "Overwriting existing file "
|
cerr << "Overwriting existing file "
|
||||||
<< outfilename << endl;
|
<< outfilename << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user