]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.cpp
use masterBuffer() rather than parent()
[lyx.git] / src / Encoding.cpp
index f6197af13d6ddd822e2b2036ea623e9c1c476e26..026ad3c43e190d8bbe48889d069a4cb948b5b45b 100644 (file)
@@ -589,11 +589,10 @@ bool Encodings::isKnownScriptChar(char_type const c, string & preamble)
                return false;
 
        if (it->second.textpreamble() != "textgreek"
-           && it->second.textpreamble() != "textcyrillic"
-           && it->second.textpreamble() != "textbaltic")
+           && it->second.textpreamble() != "textcyrillic")
                return false;
 
-       if (preamble.empty() && it->second.textpreamble() != "textbaltic") {
+       if (preamble.empty()) {
                preamble = it->second.textpreamble();
                return true;
        }
@@ -609,8 +608,6 @@ bool Encodings::needsScriptWrapper(string const & script, string const & fontenc
                return (fontenc != "T2A" && fontenc != "T2B"
                        && fontenc != "T2C" && fontenc != "X2");
        }
-       if (script == "textbaltic")
-               return (fontenc != "L7x");
        return false;
 }