]> git.lyx.org Git - lyx.git/blobdiff - src/chset.C
Point fix, earlier forgotten
[lyx.git] / src / chset.C
index 0c9ccd97d8d810aa09fc324dcf6d468774f0ba2e..33b94c895e4ccf92bbea57444ecabd785f5972dc 100644 (file)
@@ -1,8 +1,15 @@
-#include <config.h>
+/**
+ * \file chset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
+#include <config.h>
 
 #include "chset.h"
 #include "support/filetools.h"
@@ -13,6 +20,8 @@
 
 #include <fstream>
 
+using namespace lyx::support;
+
 using std::ifstream;
 using std::getline;
 using std::pair;
@@ -62,7 +71,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