]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
support for table cell rotations; fileformat change
[lyx.git] / src / insets / InsetIndex.cpp
index 51ba81be84ff9999b7238b6065ff0862241ac122..e6335953c2ce50472d16034ef22eda0f5643c34a 100644 (file)
@@ -356,7 +356,7 @@ void InsetIndex::addToToc(DocIterator const & cpit) const
        DocIterator pit = cpit;
        pit.push_back(CursorSlice(const_cast<InsetIndex &>(*this)));
        docstring str;
-       text().forToc(str, TOC_ENTRY_LENGTH);
+       text().forToc(str, 0);
        buffer().tocBackend().toc("index").push_back(TocItem(pit, 0, str));
        // Proceed with the rest of the inset.
        InsetCollapsable::addToToc(cpit);