]> 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 41410f9a94a3493c2bb80b167bf41dba7b3e2053..da1e1d662b946d185e172a1ae49185fbc3aa7701 100644 (file)
@@ -27,9 +27,9 @@ public:
        ///
        InsetFoot(InsetFoot const &);
        ///
-       Inset * clone(Buffer const &) const;
+       virtual std::auto_ptr<InsetBase> clone() 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;