]> git.lyx.org Git - lyx.git/blobdiff - src/encoding.C
Fix bug 2474; partial fix for 1777. Added last_reference_ member to QRef class and...
[lyx.git] / src / encoding.C
index b1a41fd396f5958dc1e7ea5130a83bbdb9bdbf1d..2bfb4a8a2fdb3aae7a02fb5be6bee78a3648a711 100644 (file)
@@ -179,11 +179,8 @@ docstring const Encoding::latexChar(char_type c) const
 }
 
 
-void Encoding::validate(char_type c, LaTeXFeatures & features) const
+void Encodings::validate(char_type c, LaTeXFeatures & features)
 {
-       // Add the preamble stuff even if c can be encoded in this encoding,
-       // since the inputenc package only maps the code point c to a command,
-       // it does not make this command available.
        CharInfoMap::const_iterator const it = unicodesymbols.find(c);
        if (it != unicodesymbols.end() && !it->second.preamble.empty()) {
                if (it->second.feature)