recognize deleted preamble (bug 2317).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-02-22 17:34:43 +00:00
parent 3a56dd160f
commit 44f88f7fc9
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* buffer.C (readHeader): also erase params.preamble in advance
so that an empty preamble is actually recognized (bug 2317).
* rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
2006-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>

View File

@ -404,6 +404,7 @@ int Buffer::readHeader(LyXLex & lex)
// Initialize parameters that may be/go lacking in header:
params().branchlist().clear();
params().preamble.erase();
params().options.erase();
params().float_placement.erase();
params().paperwidth.erase();