Converters::convert(): following r25960 don't use FileName::operator==() as this didn't work in this case. Don't ask me why.

Bug reported by Bennett.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25981 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-07-29 14:30:04 +00:00
parent 3b6e5373c2
commit 4af74f89d8

View File

@ -352,7 +352,7 @@ bool Converters::convert(Buffer const * buffer,
// if input and output files are equal, we use a
// temporary file as intermediary (JMarc)
FileName real_outfile;
if (outfile == infile) {
if (outfile.absFilename() == infile.absFilename()) {
real_outfile = infile;
// when importing, a buffer does not necessarily exist
if (buffer)