commit 967e0db9e0c6385092b820f54ce462328a6b0a27
Author: Richard Heck <[email protected]>
Date:   Fri Aug 30 13:16:23 2013 -0400

    Fix obvious oversight.

diff --git a/src/insets/InsetTOC.cpp b/src/insets/InsetTOC.cpp
index 00b6235..fc1f42b 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();
 

Reply via email to