]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
pimpl not needed here
[lyx.git] / src / insets / InsetFoot.h
index 1c7b74810101c0d3dcaab8c6c08448b31d69b946..172efd6e06d25bbb2ba98c2f270daecfeb3b0ec9 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        InsetFoot(BufferParams const &);
        ///
-       Inset::Code lyxCode() const { return Inset::FOOT_CODE; }
+       InsetCode lyxCode() const { return FOOT_CODE; }
        ///
        docstring name() const { return from_ascii("Foot"); }
        ///
@@ -46,7 +46,7 @@ public:
 protected:
        InsetFoot(InsetFoot const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };