]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYMatrix.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathXYMatrix.cpp
index 545ffafebb32d7b7bc4c3dd785595d7569eac5b6..79a5a76551049673f4284ee85ca50e173b1a98d6 100644 (file)
@@ -15,6 +15,8 @@
 #include "LaTeXFeatures.h"
 #include "MathStream.h"
 
+#include <ostream>
+
 namespace lyx {
 
 
@@ -51,6 +53,7 @@ void InsetMathXYMatrix::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void InsetMathXYMatrix::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "\\xymatrix";
        switch (spacing_code_) {
        case 'R':