* 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:
Jürgen Spitzmüller 2010-01-28 12:25:43 +00:00
parent fd40810a8c
commit 5b2d31fbb1

View File

@ -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);
} }