mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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;
|
odocstringstream ods;
|
||||||
XHTMLStream xs(ods);
|
XHTMLStream xs(ods);
|
||||||
|
|
||||||
Toc const & toc = buffer().tocBackend().toc("tableofcontents");
|
Toc const & toc = buffer().masterBuffer()->tocBackend().toc("tableofcontents");
|
||||||
if (toc.empty())
|
if (toc.empty())
|
||||||
return docstring();
|
return docstring();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user