]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.cpp
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathSqrt.cpp
index 14f0600498ca7f3bacf31679896d6470a11b8cf1..7fff18f6f10a726d7ee198eb11e19fa57febd062 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.
  */
@@ -80,9 +80,8 @@ void InsetMathSqrt::drawT(TextPainter & /*pain*/, int /*x*/, int /*y*/) const
 
 void InsetMathSqrt::write(WriteStream & os) const
 {
-       bool brace = ensureMath(os);
+       MathEnsurer ensurer(os);
        os << "\\sqrt{" << cell(0) << '}';
-       os.pendingBrace(brace);
 }