]> git.lyx.org Git - features.git/blobdiff - src/encoding.C
more funcs to lowerchar, adjust
[features.git] / src / encoding.C
index f28aad4d84a4a16e652b42791acd46a6f41734cd..bf4c4eb082d9994de7729811fed0cbd2b36684f9 100644 (file)
@@ -308,19 +308,19 @@ void Encodings::read(string const & filename)
 
        LyXLex lex(encodingtags, et_last - 1);
        lex.setFile(filename);
-       while (lex.IsOK()) {
+       while (lex.isOK()) {
                switch (lex.lex()) {
                case et_encoding:
                {
                        lex.next();
-                       string name = lex.GetString();
+                       string const name = lex.getString();
                        lex.next();
-                       string latexname = lex.GetString();
+                       string const latexname = lex.getString();
                        lyxerr[Debug::INIT] << "Reading encoding " << name << endl;
                        Uchar table[256];
                        for (unsigned int i = 0; i < 256; ++i) {
                                lex.next();
-                               string tmp = lex.GetString();
+                               string const tmp = lex.getString();
                                table[i] = ::strtol(tmp.c_str(), 0 , 16);
                        }
                        encodinglist[name] = Encoding(name, latexname, table);