git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-08-03 15:56:31 +00:00
parent d5e17bc255
commit 1476435c2f

View File

@ -465,8 +465,9 @@ void InsetCitation::updateLabels(ParIterator const &)
void InsetCitation::addToToc(DocIterator const & cpit)
{
docstring const tocitem = getParam("key");
Toc & toc = buffer().tocBackend().toc("citation");
toc.push_back(TocItem(cpit, 0, cache.screen_label));
toc.push_back(TocItem(cpit, 0, tocitem));
}