X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverter.cpp;h=ab7e51f912e2c7fbe782207a52a8404dce1fe609;hb=2f271f61bcd514da3ab5b44d2b7bf61e12ac0c44;hp=111aa92c28b06c6f32f1000f70af7630d937843a;hpb=4af74f89d8f1bd4f5ab2e255af06fb0f724c347b;p=lyx.git diff --git a/src/Converter.cpp b/src/Converter.cpp index 111aa92c28..ab7e51f912 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -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.absFilename() == infile.absFilename()) { + if (outfile == infile) { real_outfile = infile; // when importing, a buffer does not necessarily exist if (buffer)