pit.push_back(CursorSlice(*this));
Toc & toc = buffer().tocBackend().toc("branch");
- docstring const str = params_.branch + ": " + text_.getPar(0).asString();
+ docstring const str = params_.branch + ": " + text().getPar(0).asString();
toc.push_back(TocItem(pit, 0, str));
// Proceed with the rest of the inset.
InsetCollapsable::addToToc(cpit);