Oops! forgot to set a sane layout (bug 4859 again)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28347 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-02-04 14:23:16 +00:00
parent a5e8cc750b
commit 1106072176

View File

@ -1340,6 +1340,7 @@ bool Text::read(Buffer const & buf, Lexer & lex,
par.params().depth(depth);
par.setFont(0, Font(inherit_font,
buf.params().language));
par.setPlainOrDefaultLayout(buf.params().documentClass());
pars_.push_back(par);
}