From: Juergen Spitzmueller Date: Mon, 31 Oct 2016 17:46:06 +0000 (+0100) Subject: Use Buffer::validate() when previewing single paragraph X-Git-Tag: 2.3.0alpha1~780 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0c296cd26f06704e42873c60d4e97335eef2d24e;p=features.git Use Buffer::validate() when previewing single paragraph We used to use BufferParams::validate(), which does not validate the paragraphs. --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index f2dbb88840..8efa53bb4c 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3753,7 +3753,7 @@ unique_ptr Buffer::getSourceCode(odocstream & os, string const & format, // in order to know if we should output polyglossia // macros (instead of babel macros) LaTeXFeatures features(*this, params(), runparams); - params().validate(features); + validate(features); runparams.use_polyglossia = features.usePolyglossia(); // latex or literate otexstream ots(os);