]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.h
pimpl not needed here
[lyx.git] / src / insets / InsetMarginal.h
index e261f7d9f6728a8f52b439f481839d864695176b..94f58a9f83f71059bef3f65d31ae71288e324514 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+       InsetCode lyxCode() const { return MARGIN_CODE; }
        ///
        docstring name() const { return from_ascii("Marginal"); }
        ///
@@ -44,7 +44,7 @@ public:
 protected:
        InsetMarginal(InsetMarginal const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };