]> 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 90b5377f1aaf41c1f860aa9105b61b51c5debe73..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);
@@ -36,8 +36,8 @@ public:
        ///
        std::vector<string> const getLabelList() const;
        ///
-       int latex(Buffer const *, std::ostream &, LatexRunParams const &,
-                 bool free_spc) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///