]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathMBox.cpp
Now that Text knows its owner, use the associated Buffer access.
[features.git] / src / mathed / InsetMathMBox.cpp
index f7d7d1b07c3677380e08d6b729801b73bd463404..d7ae3d760cdc95ef290d1cdbc72d0242d6ad545a 100644 (file)
@@ -81,7 +81,7 @@ void InsetMathMBox::write(WriteStream & ws) const
        } else {
                ws << "\\mbox{\n";
                ostringstream os;
-               text_.text().write(buffer(), os);
+               text_.text().write(os);
                ws.os() << from_utf8(os.str());
                ws << "}";
        }