]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Cache icons of dynamic menu buttons
[lyx.git] / src / PDFOptions.cpp
index f758c146b772c13782e6acfd1f76ea52d870e494..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 != FLAVOR::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 != FLAVOR::XETEX)
+           if (runparams.flavor != Flavor::XeTeX)
                        os << "\\inputencoding{" << from_ascii(enc->latexName()) << "}\n";
        }
 }