]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insettoc.h
index bc4c696cf88ef1ac9179c322285e32905684246f..bb3b5ca00312a66069270ec69679279b6e371806 100644 (file)
@@ -22,18 +22,12 @@ public:
        ///
        InsetTOC(InsetCommandParams const &);
        ///
-       //InsetTOC(InsetCommandParams const &, bool same_id);
-       ///
        ~InsetTOC();
        ///
-       virtual Inset * clone(Buffer const &) const {
+       virtual Inset * clone() const {
                return new InsetTOC(params());
        }
        ///
-       //virtual Inset * clone(Buffer const &, bool same_id) const {
-       //      return new InsetTOC(params(), same_id);
-       //}
-       ///
        dispatch_result localDispatch(FuncRequest const & cmd);
        ///
        string const getScreenLabel(Buffer const *) const;