#include "InsetMathMBox.h"
#include "MathData.h"
-#include "MathMLStream.h"
#include "BufferView.h"
#include "buffer.h"
#include "paragraph.h"
#include "texrow.h"
+
+namespace lyx {
+
+using odocstream;
+
using std::auto_ptr;
using std::endl;
ws << "}";
} else {
ws << "\\mbox{\n";
- text_.write(*bv_->buffer(), ws.os());
+ std::ostringstream os;
+ text_.write(*bv_->buffer(), os);
+ ws.os() << from_utf8(os.str());
ws << "}";
}
}
{
text_.drawSelection(pi, x, y);
}
+
+
+} // namespace lyx