]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetfoot.h
index 81ff5117f9c111f1ba3b9e7ae849b457e7fde181..da1e1d662b946d185e172a1ae49185fbc3aa7701 100644 (file)
@@ -27,13 +27,9 @@ public:
        ///
        InsetFoot(InsetFoot const &);
        ///
-       //InsetFoot(InsetFoot const &, bool same_id);
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset * clone(Buffer const &) const;
-       ///
-       //Inset * clone(Buffer const &, bool same_id) const;
-       ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::FOOT_CODE; }
        ///
        int latex(Buffer const *, std::ostream &,
                  LatexRunParams const &) const;