]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYArrow.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathXYArrow.cpp
index 62acb0a17420b0fdc12394c5a08ec90fae922b1e..c51a26dcc2b1934c21bd3ed7715fd9d960d756ee 100644 (file)
 #include "frontends/Painter.h"
 #include "support/debug.h"
 
+using namespace std;
 
 namespace lyx {
 
 
-using std::max;
-
-
 InsetMathXYArrow::InsetMathXYArrow()
        : InsetMathNest(2)
 {}
@@ -142,6 +140,7 @@ void InsetMathXYArrow::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathXYArrow::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "\\ar";
        if (cell(0).size())
                os << '[' << cell(0) << ']';