]> 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 d0593b3b68d5266173874d182d4485150805c0da..10013a0da60eb3706138c7410f3e79025f530222 100644 (file)
 class InsetLabel : public InsetCommand {
 public:
        ///
-       InsetLabel(InsetCommandParams const &, bool same_id = false);
+       InsetLabel(InsetCommandParams const &);
        ///
        ~InsetLabel();
        ///
-       virtual Inset * clone(Buffer const &, bool same_id = false) const {
-               return new InsetLabel(params(), same_id);
+       virtual Inset * clone() const {
+               return new InsetLabel(params());
        }
        ///
        virtual dispatch_result localDispatch(FuncRequest const & cmd);