commit 0c296cd26f06704e42873c60d4e97335eef2d24e
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Oct 31 18:46:06 2016 +0100
Use Buffer::validate() when previewing single paragraph
We used to use BufferParams::validate(), which does not validate the
paragraphs.
---
src/Buffer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index f2dbb88..8efa53b 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -3753,7 +3753,7 @@ unique_ptr<TexRow> 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);