]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
Whitespace.
[lyx.git] / src / mathed / InsetMathSize.cpp
index c014d90adfea13057dcfdc4ec1bbe95764cf3599..d3a16317baa2178a10eacab63097bf3b80a64220 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.
  */
@@ -23,8 +23,8 @@
 
 namespace lyx {
 
-InsetMathSize::InsetMathSize(latexkeys const * l)
-       : InsetMathNest(1), key_(l), style_(Styles(convert<int>(l->extra)))
+InsetMathSize::InsetMathSize(Buffer * buf, latexkeys const * l)
+       : InsetMathNest(buf, 1), key_(l), style_(Styles(convert<int>(l->extra)))
 {}
 
 
@@ -52,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) << '}';
 }