]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetmarginal.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetmarginal.h
index a0c089f53d2565104d139a2b547a1d69c81ab71b..2eddb46dc456ec0c53915f32a37f7c1c9b4f3b4b 100644 (file)
@@ -24,11 +24,11 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       InsetMarginal(InsetMarginal const &, bool same_id = false);
+       InsetMarginal(InsetMarginal const &);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::MARGIN_CODE; }
        ///
        int latex(Buffer const *, std::ostream &,
                  LatexRunParams const &) const;