From 4af74f89d8f1bd4f5ab2e255af06fb0f724c347b Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 29 Jul 2008 14:30:04 +0000 Subject: [PATCH] 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 --- src/Converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Converter.cpp b/src/Converter.cpp index ab7e51f912..111aa92c28 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 == infile) { + if (outfile.absFilename() == infile.absFilename()) { real_outfile = infile; // when importing, a buffer does not necessarily exist if (buffer) -- 2.39.5