mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fix obvious oversight.
This commit is contained in:
parent
f1d1c06174
commit
967e0db9e0
@ -235,7 +235,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const
|
|||||||
LASSERT(false, return docstring());
|
LASSERT(false, return docstring());
|
||||||
}
|
}
|
||||||
|
|
||||||
Toc const & toc = buffer().tocBackend().toc(cmd2type(command));
|
Toc const & toc = buffer().masterBuffer()->tocBackend().toc(cmd2type(command));
|
||||||
if (toc.empty())
|
if (toc.empty())
|
||||||
return docstring();
|
return docstring();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user