diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 4d3088458f..3956896d39 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -3755,7 +3755,7 @@ auto_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(); texrow.reset(new TexRow()); texrow->newline(); diff --git a/status.22x b/status.22x index 29a63088bb..6d48a2899c 100644 --- a/status.22x +++ b/status.22x @@ -79,6 +79,9 @@ What's new - The '|' special character in index insets must no longer be inserted via TeX-mode. +- Fix preview of language switching commands for single paragraphs in some + corner cases. + * LYX2LYX