]> git.lyx.org Git - features.git/commitdiff
Fix obvious oversight.
authorRichard Heck <rgheck@lyx.org>
Fri, 30 Aug 2013 17:17:53 +0000 (13:17 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 30 Aug 2013 17:17:53 +0000 (13:17 -0400)
src/insets/InsetTOC.cpp

index bac2f43699b27c9aa5dd92656ab4aabfa3bea2d6..ba8ef26f4d1b50da0d9a1ab898b0a359cf437d8f 100644 (file)
@@ -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();