]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYArrow.cpp
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathXYArrow.cpp
index cddc17fa900990dd06fb1baf2a88fe01a25d8dce..c51a26dcc2b1934c21bd3ed7715fd9d960d756ee 100644 (file)
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "frontends/Painter.h"
-#include "debug.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) << ']';