mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
fix a crash - parlist conversion silly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6782 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ce04b1c7f1
commit
d237bf76a5
@ -1,3 +1,9 @@
|
||||
2003-04-12 John Levon <levon@movementarian.org>
|
||||
|
||||
* insetwrap.C (addToToc): fix a crash, conversion
|
||||
from while to for loop forgot to remove the explicit
|
||||
increment
|
||||
|
||||
2003-04-10 John Levon <levon@movementarian.org>
|
||||
|
||||
* insettabular.C (tabularFeature): make sure
|
||||
|
@ -267,8 +267,6 @@ bool InsetWrap::showInsetDialog(BufferView * bv) const
|
||||
void InsetWrap::addToToc(toc::TocList & toclist, Buffer const * buf) const
|
||||
{
|
||||
// Now find the caption in the float...
|
||||
// We now tranverse the paragraphs of
|
||||
// the inset...
|
||||
ParagraphList::iterator tmp = inset.paragraphs.begin();
|
||||
ParagraphList::iterator end = inset.paragraphs.end();
|
||||
|
||||
@ -281,7 +279,6 @@ void InsetWrap::addToToc(toc::TocList & toclist, Buffer const * buf) const
|
||||
toc::TocItem const item(tmp->id(), 0 , str);
|
||||
toclist[name].push_back(item);
|
||||
}
|
||||
++tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user