fix ParagraphList reading in InsetText

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4961 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-08-14 09:11:24 +00:00
parent 37f920ba16
commit 6cd49089c4
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
* insettext.C (read): assign tmp to paragraphs after return from
call to parseSingleLyXformat2Token
2002-08-13 Angus Leeming <leeming@lyx.org>
* insetbib.C:
@ -34,7 +39,7 @@
* insetert.C:
* insettabular.C:
* insettext.C: #include "WordLangTuple.h" and rearrange included files.
2002-08-12 Angus Leeming <leeming@lyx.org>
* insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.

View File

@ -266,7 +266,7 @@ void InsetText::read(Buffer const * buf, LyXLex & lex)
}
Paragraph * tmp = &*(paragraphs.begin());
if (const_cast<Buffer*>(buf)->
parseSingleLyXformat2Token(lex, tmp, return_par,
token, pos, depth, font)) {
@ -274,6 +274,7 @@ void InsetText::read(Buffer const * buf, LyXLex & lex)
lex.printError("\\the_end read in inset! Error in document!");
return;
}
paragraphs.set(tmp);
}
if (!return_par)
return_par = &*(paragraphs.begin());