mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
fix crashing bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5967 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
29b5e43026
commit
086495bec5
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
|
* buffer.C (readFile): remember to pass on 'par' when calling
|
||||||
|
readFile recursively.
|
||||||
|
|
||||||
2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* MenuBackend.C (expandFormats): add "..." to import formats.
|
* MenuBackend.C (expandFormats): add "..." to import formats.
|
||||||
|
@ -1216,7 +1216,7 @@ bool Buffer::readFile(LyXLex & lex, string const & filename, Paragraph * par)
|
|||||||
istringstream is(STRCONV(ret.second));
|
istringstream is(STRCONV(ret.second));
|
||||||
LyXLex tmplex(0, 0);
|
LyXLex tmplex(0, 0);
|
||||||
tmplex.setStream(is);
|
tmplex.setStream(is);
|
||||||
return readFile(tmplex, string());
|
return readFile(tmplex, string(), par);
|
||||||
} else {
|
} else {
|
||||||
// This code is reached if lyx2lyx failed (for
|
// This code is reached if lyx2lyx failed (for
|
||||||
// some reason) to change the file format of
|
// some reason) to change the file format of
|
||||||
|
Loading…
Reference in New Issue
Block a user