]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Some master/child biblio fixes.
[lyx.git] / src / insets / InsetFoot.cpp
index 9df6f5d590f60073648efd7bc38475951f4c3244..cb7462d503702c0f993f9492e4640bb47a4f9af7 100644 (file)
@@ -26,6 +26,7 @@
 #include "support/debug.h"
 #include "support/docstream.h"
 #include "support/gettext.h"
+#include "support/lstrings.h"
 
 using namespace std;
 
@@ -74,20 +75,6 @@ void InsetFoot::updateBuffer(ParIterator const & it, UpdateType utype)
 }
 
 
-void InsetFoot::addToToc(DocIterator const & cpit, bool output_active) const
-{
-       DocIterator pit = cpit;
-       pit.push_back(CursorSlice(const_cast<InsetFoot &>(*this)));
-
-       Toc & toc = buffer().tocBackend().toc("footnote");
-       docstring str = custom_label_ + ": ";
-       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);
-}
-
-
 docstring InsetFoot::toolTip(BufferView const & bv, int x, int y) const
 {
        if (isOpen(bv))