]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetFoot.cpp
index 9b5e1f65a8aed49c8801dc3cb73bd8168b310355..bace67f593a15583867e321df81a94615bd35ab4 100644 (file)
@@ -16,7 +16,6 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "Counters.h"
-#include "support/gettext.h"
 #include "Layout.h"
 // FIXME: the following is needed just to get the layout of the enclosing
 // paragraph. This seems a bit too much to me (JMarc)
@@ -27,6 +26,7 @@
 
 #include "support/debug.h"
 #include "support/docstream.h"
+#include "support/gettext.h"
 #include "support/lstrings.h"
 
 using namespace std;
@@ -73,6 +73,8 @@ void InsetFoot::addToToc(DocIterator const & cpit)
        docstring str;
        str = custom_label_ + ": " + getNewLabel(str);
        toc.push_back(TocItem(pit, 0, str));
+       // Proceed with the rest of the inset.
+       InsetFootlike::addToToc(cpit);
 }