]> git.lyx.org Git - lyx.git/blobdiff - src/Language.cpp
Use const references
[lyx.git] / src / Language.cpp
index 9ad7a9c217e7b7633899b9023945e9b125b64254..dad933f0c6cd392fcd5b4bd3b45e0ec1693d37ad 100644 (file)
@@ -89,7 +89,7 @@ string Language::fontenc(BufferParams const & params) const
        // We check whether the used rm font supports an encoding our language supports
        LaTeXFont const & lf =
                theLaTeXFonts().getLaTeXFont(from_ascii(params.fontsRoman()));
-       vector<string> const lfe = lf.fontencs();
+       vector<string> const lfe = lf.fontencs();
        for (auto & fe : fontenc_) {
                // ASCII means: support all T* encodings plus OT1
                if (fe == "ASCII") {