From 967e0db9e0c6385092b820f54ce462328a6b0a27 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 30 Aug 2013 13:16:23 -0400 Subject: [PATCH] Fix obvious oversight. --- src/insets/InsetTOC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp index 00b6235349..fc1f42bcae 100644 --- a/src/insets/InsetTOC.cpp +++ b/src/insets/InsetTOC.cpp @@ -235,7 +235,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const LASSERT(false, return docstring()); } - Toc const & toc = buffer().tocBackend().toc(cmd2type(command)); + Toc const & toc = buffer().masterBuffer()->tocBackend().toc(cmd2type(command)); if (toc.empty()) return docstring(); -- 2.39.5