]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetenv.h
index a42b903d6776bf7f188672235c3f2c6878b4f736..c3f78f05c9d80328f07705821a63b9c5d3621215 100644 (file)
@@ -20,21 +20,22 @@ public:
        ///
        InsetEnvironment(BufferParams const &, string const & name);
        ///
-       InsetEnvironment(InsetEnvironment const &, bool same_id = false);
+       InsetEnvironment(InsetEnvironment const &);
        ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
        void read(Buffer const * buf, LyXLex & lex);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode() const { return Inset::ENVIRONMENT_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::ENVIRONMENT_CODE; }
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
        ///
-       Inset::EDITABLE editable() const { return HIGHLY_EDITABLE; }
+       InsetOld::EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
        bool isTextInset() const { return true; }
        ///