* 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.
*/
#include "frontends/Painter.h"
#include "support/debug.h"
+using namespace std;
namespace lyx {
-using std::max;
-
-
InsetMathXYArrow::InsetMathXYArrow()
: InsetMathNest(2)
{}
void InsetMathXYArrow::write(WriteStream & os) const
{
+ MathEnsurer ensurer(os);
os << "\\ar";
if (cell(0).size())
os << '[' << cell(0) << ']';