]> 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 fae6b701b6ddc557021cd69633fc39e08c157bc5..2eddb46dc456ec0c53915f32a37f7c1c9b4f3b4b 100644 (file)
@@ -24,14 +24,14 @@ 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 &,
-                 bool fragile, bool fp) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
 };