]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetEnvironment.cpp
index 0d263810879872c0d93c123f2bcc221d5ef8ad09..73048ab52e87a8b9bb257c337e12733ed6b131c4 100644 (file)
@@ -70,7 +70,7 @@ int InsetEnvironment::latex(Buffer const & buf, odocstream & os,
        // FIXME UNICODE
        os << from_utf8(layout_->latexheader);
        TexRow texrow;
-       latexParagraphs(buf, paragraphs(), os, texrow, runparams,
+       latexParagraphs(buf, text_, os, texrow, runparams,
                        layout_->latexparagraph);
        // FIXME UNICODE
        os << from_utf8(layout_->latexfooter);