mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
initialize all vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7010 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cfead52093
commit
5d573b3675
@ -1,3 +1,7 @@
|
||||
2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* paragraph.C (Paragraph): initialize next_par_ and prev_par_
|
||||
|
||||
2003-05-22 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* latexrunparams.h: new file containing struct LatexRunParams.
|
||||
|
@ -73,6 +73,9 @@ Paragraph::Paragraph()
|
||||
#ifndef NO_NEXT
|
||||
next_ = 0;
|
||||
previous_ = 0;
|
||||
#else
|
||||
next_par_ = 0;
|
||||
prev_par_ = 0;
|
||||
#endif
|
||||
enumdepth = 0;
|
||||
itemdepth = 0;
|
||||
@ -88,6 +91,9 @@ Paragraph::Paragraph(Paragraph const & lp, bool same_ids)
|
||||
#ifndef NO_NEXT
|
||||
next_ = 0;
|
||||
previous_ = 0;
|
||||
#else
|
||||
next_par_ = 0;
|
||||
prev_par_ = 0;
|
||||
#endif
|
||||
// this is because of the dummy layout of the paragraphs that
|
||||
// follow footnotes
|
||||
|
Loading…
Reference in New Issue
Block a user