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

index 00b6235349ebf969b4e6dbcb2f97a0d7353cacb9..fc1f42bcae86ab8c3cb0d41e136d1e62bea65b48 100644 (file)
@@ -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();