mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
Backport r28544, fixing 5751.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29086 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
21eecedd72
commit
790376adbc
@ -61,7 +61,6 @@ void InsetNewlineParams::read(Lexer & lex)
|
|||||||
kind = InsetNewlineParams::LINEBREAK;
|
kind = InsetNewlineParams::LINEBREAK;
|
||||||
else
|
else
|
||||||
lex.printError("Unknown kind: `$$Token'");
|
lex.printError("Unknown kind: `$$Token'");
|
||||||
lex >> "\\end_inset";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -75,6 +74,7 @@ void InsetNewline::write(ostream & os) const
|
|||||||
void InsetNewline::read(Lexer & lex)
|
void InsetNewline::read(Lexer & lex)
|
||||||
{
|
{
|
||||||
params_.read(lex);
|
params_.read(lex);
|
||||||
|
lex >> "\\end_inset";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,8 +79,6 @@ void InsetNewpageParams::read(Lexer & lex)
|
|||||||
kind = InsetNewpageParams::CLEARDOUBLEPAGE;
|
kind = InsetNewpageParams::CLEARDOUBLEPAGE;
|
||||||
else
|
else
|
||||||
lex.printError("Unknown kind");
|
lex.printError("Unknown kind");
|
||||||
|
|
||||||
lex >> "\\end_inset";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -94,6 +92,7 @@ void InsetNewpage::write(ostream & os) const
|
|||||||
void InsetNewpage::read(Lexer & lex)
|
void InsetNewpage::read(Lexer & lex)
|
||||||
{
|
{
|
||||||
params_.read(lex);
|
params_.read(lex);
|
||||||
|
lex >> "\\end_inset";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user