-void InsetFoot::addToToc(DocIterator const & cpit, bool output_active) const
-{
- DocIterator pit = cpit;
- pit.push_back(CursorSlice(const_cast<InsetFoot &>(*this)));
-
- Toc & toc = buffer().tocBackend().toc("footnote");
- docstring str = custom_label_ + ": ";
- text().forOutliner(str, TOC_ENTRY_LENGTH);
- toc.push_back(TocItem(pit, 0, str, output_active, toolTipText(docstring(), 3, 60)));
- // Proceed with the rest of the inset.
- InsetFootlike::addToToc(cpit, output_active);
-}
-
-