Fix obvious oversight.

This commit is contained in:
Richard Heck 2013-08-30 13:17:53 -04:00
parent 5d0c7de0b0
commit 92e574a70d

View File

@ -103,7 +103,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const
odocstringstream ods;
XHTMLStream xs(ods);
Toc const & toc = buffer().tocBackend().toc("tableofcontents");
Toc const & toc = buffer().masterBuffer()->tocBackend().toc("tableofcontents");
if (toc.empty())
return docstring();