mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* InsetTabular.cpp (addToToc):
- pass correct iterator (and prevent assertion). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33247 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fd40810a8c
commit
5b2d31fbb1
@ -3424,7 +3424,7 @@ void InsetTabular::addToToc(DocIterator const & cpit)
|
|||||||
dit.forwardPos();
|
dit.forwardPos();
|
||||||
size_t const end = dit.nargs();
|
size_t const end = dit.nargs();
|
||||||
for ( ; dit.idx() < end; dit.top().forwardIdx())
|
for ( ; dit.idx() < end; dit.top().forwardIdx())
|
||||||
cell(dit.idx())->addToToc(cpit);
|
cell(dit.idx())->addToToc(dit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user