]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.cpp
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetTOC.cpp
index 83e5560cc6474821722d0b5e52216ad10d28b124..eeb04d23694089288bf5ce0a0ac3e763b8328331 100644 (file)
 #include "Buffer.h"
 #include "DispatchResult.h"
 #include "FuncRequest.h"
-#include "support/gettext.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 #include "TocBackend.h"
 
+#include "support/gettext.h"
+
 #include <ostream>
 
 using namespace std;
@@ -42,12 +43,6 @@ ParamInfo const & InsetTOC::findInfo(string const & /* cmdName */)
 }
 
 
-Inset * InsetTOC::clone() const
-{
-       return new InsetTOC(*this);
-}
-
-
 docstring InsetTOC::screenLabel() const
 {
        if (getCmdName() == "tableofcontents")