remove some very old dead code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6144 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-14 01:12:10 +00:00
parent 609f0b3321
commit 69cf3b6204
2 changed files with 4 additions and 16 deletions

View File

@ -1,3 +1,7 @@
2003-02-14 John Levon <levon@movementarian.org>
* buffer.C: remove some very old #if 0'd parse code
2003-02-13 John Levon <levon@movementarian.org>
* text.h:

View File

@ -315,11 +315,6 @@ bool Buffer::readLyXformat2(LyXLex & lex, Paragraph * par)
Paragraph * first_par = 0;
LyXFont font(LyXFont::ALL_INHERIT, params.language);
#if 0
if (file_format < 216 && params.language->lang() == "hebrew")
font.setLanguage(default_language);
#endif
if (!par) {
par = new Paragraph;
par->layout(params.getLyXTextClass().defaultLayout());
@ -433,11 +428,6 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
// right values after this tag (Jug 20020420)
font = LyXFont(LyXFont::ALL_INHERIT, params.language);
#if 0
if (file_format < 216 && params.language->lang() == "hebrew")
font.setLanguage(default_language);
#endif
lex.eatLine();
string layoutname = lex.getString();
@ -1282,12 +1272,6 @@ bool Buffer::readFile(LyXLex & lex, string const & filename, Paragraph * par)
bool the_end = readLyXformat2(lex, par);
params.setPaperStuff();
#if 0
// the_end was added in 213
if (file_format < 213)
the_end = true;
#endif
if (!the_end) {
Alert::alert(_("Warning!"),
_("Reading of document is not complete"),