]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathMBox.cpp
index 39e500540cd18a42bc252d15d923ff2c2f620156..c3c41b194dc14fd8902e71760c57c393515f55e4 100644 (file)
@@ -73,7 +73,7 @@ void InsetMathMBox::write(Buffer const & buf, WriteStream & ws) const
                ws << "\\mbox{\n";
                TexRow texrow;
                OutputParams runparams(&buf.params().encoding());
-               latexParagraphs(buf, text_.paragraphs(), ws.os(), texrow, runparams);
+               latexParagraphs(buf, text_, ws.os(), texrow, runparams);
                ws.addlines(texrow.rows());
                ws << "}";
        } else {