From: Richard Heck Date: Fri, 30 Aug 2013 17:16:23 +0000 (-0400) Subject: Fix obvious oversight. X-Git-Tag: 2.1.0beta2~112 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=967e0db9e0c6385092b820f54ce462328a6b0a27;p=lyx.git Fix obvious oversight. --- 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();