From 0c296cd26f06704e42873c60d4e97335eef2d24e Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 31 Oct 2016 18:46:06 +0100 Subject: [PATCH] Use Buffer::validate() when previewing single paragraph We used to use BufferParams::validate(), which does not validate the paragraphs. --- src/Buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2