]> git.lyx.org Git - features.git/blobdiff - src/chset.C
introduce namespace lyx::support
[features.git] / src / chset.C
index 3b60e4ebd89699b02b2a5df3f39b40e44dc3d253..e8072d739e58be96f4d23f982f78c216b04db494 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <fstream>
 
+using namespace lyx::support;
+
 using std::ifstream;
 using std::getline;
 using std::pair;
@@ -58,7 +60,7 @@ bool CharacterSet::loadFile(string const & fname)
                cmatch sub;
 #endif
                if (regex_match(STRCONV(line), sub, reg)) {
-                       int const n = lyx::atoi(STRCONV(sub.str(1)));
+                       int const n = atoi(STRCONV(sub.str(1)));
                        string const str = STRCONV(sub.str(2));
                        if (lyxerr.debugging(Debug::KBMAP))
                                lyxerr << "Chardef: " << n