commit 92e574a70da0f03aa8d1fc3681232e959efb5df9
Author: Richard Heck <[email protected]>
Date: Fri Aug 30 13:17:53 2013 -0400
Fix obvious oversight.
diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp
index bac2f43..ba8ef26 100644
--- a/src/insets/InsetTOC.cpp
+++ b/src/insets/InsetTOC.cpp
@@ -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();