]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Fix misparsing of alternative simple formulas
[lyx.git] / src / mathed / InsetMathHull.h
index d37fe3af148a92cab875e7b130fbab889e060859..af00eaf04e9ac9cb5ca55ca601995c5af6b95b89 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "InsetMathGrid.h"
 
-#include "Color.h"
 #include "DocIterator.h"
 #include "OutputEnums.h"
 
@@ -42,7 +41,7 @@ public:
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        InsetMathHull & operator=(InsetMathHull const &);
        ///
@@ -126,7 +125,8 @@ public:
        ///
        bool readQuiet(Lexer & lex);
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream &, OutputParams const &, 
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///