]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathSize.cpp
index f90a76c1fa661e83cba831324fa5cbb4495d437a..d1f34c831e119850a4d8f80f56aa48731ccb4cd5 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -18,6 +18,8 @@
 
 #include "support/convert.h"
 
+#include <ostream>
+
 
 namespace lyx {
 
@@ -50,6 +52,7 @@ void InsetMathSize::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathSize::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "{\\" << key_->name << ' ' << cell(0) << '}';
 }