From 92e574a70da0f03aa8d1fc3681232e959efb5df9 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 30 Aug 2013 13:17:53 -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 bac2f43699..ba8ef26f4d 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();