]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / insettoc.h
index 4c6848c447b6fc73868851f2ca7549062db96e87..3c7d8bed37587ed116c22583710f8f3ca9a921b1 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include "support/utility.hpp"
 
 /** Used to insert table of contents
  */
-class InsetTOC : public InsetCommand, public noncopyable {
+class InsetTOC : public InsetCommand {
 public:
        ///
        InsetTOC(InsetCommandParams const & p) : InsetCommand(p) {}
        ///
-        Inset * Clone() const { return new InsetTOC(params()); }
+        Inset * Clone(Buffer const &) const { return new InsetTOC(params()); }
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        void Edit(BufferView * bv, int, int, unsigned int);
         ///