Fix crash with full view source (#10560 and #10617)

This commit is contained in:
Guillaume MM 2017-05-02 01:36:23 +02:00
parent 6b64d462ef
commit dd7555af0e

View File

@ -3949,6 +3949,7 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
ots.texrow().newlines(2);
if (master)
runparams.is_child = true;
updateBuffer();
writeLaTeXSource(ots, string(), runparams, output);
texrow = ots.releaseTexRow();
}