mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
doubly stupid bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23288 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9fb8d72d62
commit
aede435746
@ -179,7 +179,7 @@ void InsetRef::addToToc(Buffer const & buf,
|
|||||||
// The Toc item for this label already exists so let's add
|
// The Toc item for this label already exists so let's add
|
||||||
// this inset to this node.
|
// this inset to this node.
|
||||||
++it;
|
++it;
|
||||||
while (it != end || it->str() == reflabel)
|
while (it != end && it->str() == reflabel)
|
||||||
++it;
|
++it;
|
||||||
toc.insert(it, TocItem(cpit, 1, reflabel));
|
toc.insert(it, TocItem(cpit, 1, reflabel));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user