make it compile again (hopefully)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15383 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-10-19 19:16:33 +00:00
parent 62aedce851
commit 9e86082c9a

View File

@ -25,6 +25,8 @@
#include "paragraph.h" #include "paragraph.h"
#include "texrow.h" #include "texrow.h"
using lyx::odocstream;
using std::auto_ptr; using std::auto_ptr;
using std::endl; using std::endl;
@ -73,7 +75,9 @@ void InsetMathMBox::write(WriteStream & ws) const
ws << "}"; ws << "}";
} else { } else {
ws << "\\mbox{\n"; ws << "\\mbox{\n";
text_.write(*bv_->buffer(), ws.os()); std::ostringstream os;
text_.write(*bv_->buffer(), os);
ws.os() << lyx::from_utf8(os.str());
ws << "}"; ws << "}";
} }
} }