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