]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.cpp
Added inset-select-all to emacs bindings
[lyx.git] / src / insets / InsetMarginal.cpp
index 9543e8f52749ebe27b1c5e1701cf04a3bde59c4a..996d6ecdf6eef10d0ffa28b5a6c4af599a79e50e 100644 (file)
@@ -58,7 +58,7 @@ void InsetMarginal::addToToc(DocIterator const & cpit, bool output_active) const
 
        Toc & toc = buffer().tocBackend().toc("marginalnote");
        docstring str;
-       text().forToc(str, TOC_ENTRY_LENGTH);
+       text().forOutliner(str, TOC_ENTRY_LENGTH);
        toc.push_back(TocItem(pit, 0, str, output_active, toolTipText(docstring(), 3, 60)));
        // Proceed with the rest of the inset.
        InsetFootlike::addToToc(cpit, output_active);