From: Richard Heck Date: Fri, 30 Aug 2013 17:17:53 +0000 (-0400) Subject: Fix obvious oversight. X-Git-Tag: 2.0.7~33 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=92e574a70da0f03aa8d1fc3681232e959efb5df9;p=features.git Fix obvious oversight. --- 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();