mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 10:47:57 +00:00
Remove non-required ternary conditional.
In a branch only entered when not using Xe- or LuaTeX, we don't need to care about polyglossia.
This commit is contained in:
parent
4da19ef833
commit
d1b89c59d4
@ -1034,12 +1034,7 @@ void TeXOnePar(Buffer const & buf,
|
||||
if (runparams.encoding->package() == Encoding::CJK
|
||||
&& par_lang != openLanguageName(state)
|
||||
&& !par_lang.empty()) {
|
||||
string bc = use_polyglossia ?
|
||||
getPolyglossiaBegin(lang_begin_command, par_lang,
|
||||
par_language->polyglossiaOpts(),
|
||||
localswitch)
|
||||
: subst(lang_begin_command, "$$lang", par_lang);
|
||||
os << bc
|
||||
os << subst(lang_begin_command, "$$lang", par_lang)
|
||||
<< lang_command_termination;
|
||||
if (using_begin_end)
|
||||
pushLanguageName(par_lang, localswitch);
|
||||
|
Loading…
Reference in New Issue
Block a user