Always run lyx2lyx if file_format < LYX_FORMAT (and file_format >= 200).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-08-24 10:26:32 +00:00
parent cc57abdf3a
commit 78f1f6125c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
(and file_format >= 200).
2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool

View File

@ -1176,7 +1176,7 @@ bool Buffer::readFile(LyXLex & lex, Paragraph * par)
_("Old LyX file format found. " _("Old LyX file format found. "
"Use LyX 0.10.x to read this!")); "Use LyX 0.10.x to read this!"));
return false; return false;
} else if (file_format < 220) { } else {
string const command = "lyx2lyx " string const command = "lyx2lyx "
+ QuoteName(filename_); + QuoteName(filename_);
cmd_ret const ret = RunCommand(command); cmd_ret const ret = RunCommand(command);