]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTabular.cpp
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathTabular.cpp
index 01d8c9cb653e42383e80d78f78969426303c84ba..099089169908b92a318d66a24fb2375f9c7c5725 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "support/lstrings.h"
 
+#include <ostream>
+
 namespace lyx {
 
 InsetMathTabular::InsetMathTabular(docstring const & name, int m, int n)
@@ -63,6 +65,8 @@ void InsetMathTabular::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathTabular::write(WriteStream & os) const
 {
+       ModeSpecifier specifier(os, TEXT_MODE);
+
        if (os.fragile())
                os << "\\protect";
        os << "\\begin{" << name_ << '}';