]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Added inset-select-all to emacs bindings
[lyx.git] / src / insets / InsetIndex.cpp
index 57c0d07a3a496e100ab7bacebfe0b42a4aa6c285..9db1aca4dde3c485400b925f47ed587526754a2b 100644 (file)
@@ -353,7 +353,7 @@ void InsetIndex::addToToc(DocIterator const & cpit, bool output_active) const
        DocIterator pit = cpit;
        pit.push_back(CursorSlice(const_cast<InsetIndex &>(*this)));
        docstring str;
-       text().forToc(str, 0);
+       text().forOutliner(str, 0);
        buffer().tocBackend().toc("index").push_back(TocItem(pit, 0, str, output_active));
        // Proceed with the rest of the inset.
        InsetCollapsable::addToToc(cpit, output_active);