mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix obvious oversight.
This commit is contained in:
parent
5d0c7de0b0
commit
92e574a70d
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user