]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.h
fix a crash when the inset containing the new word at cursor is deleted
[lyx.git] / src / mathed / InsetFormulaMacro.h
index 7d08dc3d754abbd7a2cf1d5bc7729afa57a96290..0e4e3ba70044bd707e59fbec92faba7203cefab5 100644 (file)
@@ -29,9 +29,9 @@ class Lexer;
 class InsetFormulaMacro : public InsetMathNest {
 public:
        ///
-       InsetFormulaMacro();
+       InsetFormulaMacro(Buffer * buf);
        /// construct a macro hull from its name and the number of arguments
-       InsetFormulaMacro(docstring const & name, int nargs, docstring const & t);
+       InsetFormulaMacro(Buffer * buf, docstring const & name, int nargs, docstring const & t);
        /// constructs a mocro from its LaTeX definition
        explicit InsetFormulaMacro(docstring const & s);
        ///
@@ -44,7 +44,7 @@ public:
        ///
        void write(std::ostream & os) const;
        ///
-       int latex(odocstream & os, OutputParams const &) const;
+       int latex(otexstream & os, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///