mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3217 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
acdc633447
commit
59aa0e76dc
@ -1182,8 +1182,7 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
|
||||
+ " " + lex.text() + "\n";
|
||||
|
||||
InsetError * new_inset = new InsetError(s);
|
||||
par->insertInset(pos, new_inset);
|
||||
par->setFont(pos, LyXFont(LyXFont::ALL_INHERIT,
|
||||
par->insertInset(pos, new_inset, LyXFont(LyXFont::ALL_INHERIT,
|
||||
params.language));
|
||||
|
||||
#ifndef NO_COMPABILITY
|
||||
@ -2981,8 +2980,8 @@ void Buffer::sgmlError(Paragraph * par, int pos,
|
||||
{
|
||||
// insert an error marker in text
|
||||
InsetError * new_inset = new InsetError(message);
|
||||
par->insertInset(pos, new_inset);
|
||||
par->setFont(pos, LyXFont(LyXFont::ALL_INHERIT, params.language));
|
||||
par->insertInset(pos, new_inset, LyXFont(LyXFont::ALL_INHERIT,
|
||||
params.language));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user