]> git.lyx.org Git - lyx.git/blobdiff - src/trans.C
Hopefully fix the problem with stateText() in lyxfont.C
[lyx.git] / src / trans.C
index c35a99530fecc39d9ca4b51e8feba77912c599bd..fd777ac4ae76f8fba7271f0f0a3da50eda2cecb6 100644 (file)
@@ -12,6 +12,8 @@
 #include "debug.h"
 #include "trans_mgr.h"
 
+using std::endl;
+
 
 // KmodInfo
 KmodInfo::KmodInfo()
@@ -369,7 +371,7 @@ int Trans::Load(string const & language)
        if (res == 0) {
                name_ = language;
        } else
-               name_.clear();
+               name_.erase();
 
        return res;
 }