Fix obvious oversight.

This commit is contained in:
Richard Heck 2013-08-30 13:16:23 -04:00
parent f1d1c06174
commit 967e0db9e0

View File

@ -235,7 +235,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const
LASSERT(false, return docstring());
}
Toc const & toc = buffer().tocBackend().toc(cmd2type(command));
Toc const & toc = buffer().masterBuffer()->tocBackend().toc(cmd2type(command));
if (toc.empty())
return docstring();