]> 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 1ad777d9a622b2b4a5aa9a04c75095f8eb28f3c4..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.
  */
@@ -52,9 +52,8 @@ void InsetMathSize::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathSize::write(WriteStream & os) const
 {
-       bool brace = ensureMath(os);
+       MathEnsurer ensurer(os);
        os << "{\\" << key_->name << ' ' << cell(0) << '}';
-       os.pendingBrace(brace);
 }