]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.C
Add string << operators for the other streams as well, and removes
[lyx.git] / src / mathed / math_arrayinset.C
index 2c6da9506ce21b6a24191c3aec86183167b81208..ab216d492f5a113f4040dac4befeba6cb15635ed 100644 (file)
@@ -1,14 +1,17 @@
+#include <config.h>
+
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
-#include <iterator>
-
 #include "math_arrayinset.h"
 #include "math_parser.h"
 #include "math_mathmlstream.h"
+#include "math_streamstr.h"
 #include "Lsstream.h"
 
+#include <iterator>
+
 using std::vector;
 using std::istringstream;
 using std::getline;
@@ -77,7 +80,7 @@ void MathArrayInset::write(WriteStream & os) const
 
        if (v_align_ == 't' || v_align_ == 'b') 
                os << '[' << char(v_align_) << ']';
-       os << '{' << halign().c_str() << "}\n";
+       os << '{' << halign() << "}\n";
 
        MathGridInset::write(os);