]> git.lyx.org Git - lyx.git/blobdiff - src/trans.C
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / trans.C
index b2d6543d457930fd819bceda122877060fbae412..bde4bc184786f2be3a22030163314452752c5de4 100644 (file)
@@ -363,7 +363,7 @@ string const Trans::process(char c, TransManager & k)
 
 int Trans::Load(string const & language)
 {
-       string filename = LibFileSearch("kbd", language, "kmap");
+       string const filename = LibFileSearch("kbd", language, "kmap");
        if (filename.empty())
                return -1;
 
@@ -371,7 +371,7 @@ int Trans::Load(string const & language)
        LyXLex lex(kmapTags, K_LAST-1);
        lex.setFile(filename);
        
-       int res = Load(lex);
+       int const res = Load(lex);
 
        if (res == 0) {
                name_ = language;