]> git.lyx.org Git - lyx.git/blobdiff - src/chset.C
More 'standard conformant blurb' nonsense.
[lyx.git] / src / chset.C
index 0c9ccd97d8d810aa09fc324dcf6d468774f0ba2e..e8072d739e58be96f4d23f982f78c216b04db494 100644 (file)
@@ -1,9 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "chset.h"
 #include "support/filetools.h"
 #include "support/lyxlib.h"
@@ -13,6 +9,8 @@
 
 #include <fstream>
 
+using namespace lyx::support;
+
 using std::ifstream;
 using std::getline;
 using std::pair;
@@ -62,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