]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.C
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathMBox.C
index 53b54d3faddb819b66dd985613d8bde15b6aae86..962ece1de04e3cde30d299ac38585b2d5c9f4d3e 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "InsetMathMBox.h"
 #include "MathData.h"
-#include "MathMLStream.h"
 
 #include "BufferView.h"
 #include "buffer.h"
 #include "paragraph.h"
 #include "texrow.h"
 
-using lyx::odocstream;
+
+namespace lyx {
+
+using odocstream;
 
 using std::auto_ptr;
 using std::endl;
@@ -77,7 +79,7 @@ void InsetMathMBox::write(WriteStream & ws) const
                ws << "\\mbox{\n";
                std::ostringstream os;
                text_.write(*bv_->buffer(), os);
-               ws.os() << lyx::from_utf8(os.str());
+               ws.os() << from_utf8(os.str());
                ws << "}";
        }
 }
@@ -118,3 +120,6 @@ void InsetMathMBox::drawSelection(PainterInfo & pi, int x, int y) const
 {
        text_.drawSelection(pi, x, y);
 }
+
+
+} // namespace lyx