]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
Detect when an external command crashes
[lyx.git] / src / output_latex.cpp
index 3595a089fa60e03224e83c7a749ae4046ca9dab2..783be726084195a10b6ec8c4f3d9f36b59865b6b 100644 (file)
@@ -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 = "}";