mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
3b6e5373c2
commit
4af74f89d8
@ -352,7 +352,7 @@ bool Converters::convert(Buffer const * buffer,
|
|||||||
// if input and output files are equal, we use a
|
// if input and output files are equal, we use a
|
||||||
// temporary file as intermediary (JMarc)
|
// temporary file as intermediary (JMarc)
|
||||||
FileName real_outfile;
|
FileName real_outfile;
|
||||||
if (outfile == infile) {
|
if (outfile.absFilename() == infile.absFilename()) {
|
||||||
real_outfile = infile;
|
real_outfile = infile;
|
||||||
// when importing, a buffer does not necessarily exist
|
// when importing, a buffer does not necessarily exist
|
||||||
if (buffer)
|
if (buffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user