X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.cpp;h=783be726084195a10b6ec8c4f3d9f36b59865b6b;hb=7032b0374801d7e2621c221ce43f409855a901d6;hp=3595a089fa60e03224e83c7a749ae4046ca9dab2;hpb=d9b87d651a066e4f5ff1385ec98e941110e3427c;p=lyx.git diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 3595a089fa..783be72608 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -672,7 +672,7 @@ void TeXOnePar(Buffer const & buf, // In some insets (such as Arguments), we cannot use \selectlanguage bool const localswitch = !use_polyglossia - && text.inset().getLayout().forcelocalfontswitch(); + && text.inset().forceLocalFontSwitch(); if (localswitch) { lang_begin_command = lyxrc.language_command_local; lang_end_command = "}";