]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNest.h
Better fix for bug #8679
[lyx.git] / src / mathed / InsetMathNest.h
index d9c1f09f428462e50800f76fd27c6fe3701cabe4..a503fb96db3563c7ce2f527c5ba8985db940ec35 100644 (file)
@@ -14,9 +14,6 @@
 
 #include "InsetMath.h"
 
-// FIXME: remove
-#include "support/docstring.h"
-
 #include <map>
 
 namespace lyx {
@@ -111,9 +108,9 @@ public:
        /// writes [, name(), and args in []
        void normalize(NormalStream & os) const;
        ///
-       int latex(odocstream & os, OutputParams const & runparams) const;
+       void latex(otexstream & os, OutputParams const & runparams) const;
        ///
-       bool setMouseHover(BufferView const * bv, bool mouse_hover);
+       bool setMouseHover(BufferView const * bv, bool mouse_hover) const;
        ///
        bool mouseHovered(BufferView const * bv) const 
                { return mouse_hover_[bv]; }
@@ -172,7 +169,7 @@ public:
        /// interpret \p str and insert the result at the current position of
        /// \p cur if it is something known. Return whether \p cur was
        /// inserted.
-       bool interpretString(Cursor & cur, docstring const & str);
+       virtual bool interpretString(Cursor & cur, docstring const & str);
 
 private:
        /// lfun handler