]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / PDFOptions.cpp
index a3dd1f34e5b57e523cde903bab19e1eb57897e74..ee2193fbc113eaec7c1a006b99c24d6bff67607d 100644 (file)
@@ -191,7 +191,7 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os,
        // this if the current input encoding does not support a character.
        // FIXME: don't use \inputencoding if "inputenc" is not loaded (#9839).
        if (need_unicode && enc && enc->iconvName() != "UTF-8") {
-           if (runparams.flavor != OutputParams::XETEX)
+           if (runparams.flavor != Flavor::XeTeX)
                        os << "\\inputencoding{utf8}\n";
                os << setEncoding("UTF-8");
        }
@@ -211,7 +211,7 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os,
                os << from_utf8(opt);
        if (need_unicode && enc && enc->iconvName() != "UTF-8") {
                os << setEncoding(enc->iconvName());
-           if (runparams.flavor != OutputParams::XETEX)
+           if (runparams.flavor != Flavor::XeTeX)
                        os << "\\inputencoding{" << from_ascii(enc->latexName()) << "}\n";
        }
 }