void InsetGraphics::addToToc(DocIterator const & cpit, bool output_active) const
{
- TocBackend & backend = buffer().tocBackend();
-
//FIXME UNICODE
docstring const str = from_utf8(params_.filename.onlyFileName());
- backend.toc("graphics").push_back(TocItem(cpit, 0, str, output_active));
+ buffer().tocBackend().toc("graphics").push_back(TocItem(cpit, 0, str, output_active));
}