* 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.
*/
void InsetMathSplit::write(WriteStream & ws) const
{
- bool brace = ensureMath(ws);
+ MathEnsurer ensurer(ws);
if (ws.fragile())
ws << "\\protect";
ws << "\\begin{" << name_ << '}';
if (ws.fragile())
ws << "\\protect";
ws << "\\end{" << name_ << "}\n";
- ws.pendingBrace(brace);
}