]> git.lyx.org Git - lyx.git/blobdiff - src/encoding.C
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / encoding.C
index e9d8217be6e1135702a8e2d149dadd1bb397e7d9..d4c37d8e438400e5d3354a3cff69315a7b496abb 100644 (file)
@@ -1,28 +1,30 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file encoding.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author Dekel Tsur
  *
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "encoding.h"
-#include "lyxlex.h"
+
 #include "debug.h"
+#include "lyxlex.h"
+#include "lyxrc.h"
 
 #ifndef CXX_GLOBAL_CSTD
 using std::strtol;
 #endif
 
 using std::endl;
+using std::string;
+
 
 Encodings encodings;
 
@@ -254,12 +256,12 @@ bool Encodings::IsComposeChar_hebrew(unsigned char c)
 
 
 // Special Arabic letters are ones that do not get connected from left
-// they are hamza, alef_madda, alef_hamza, waw_hamza, alef_hamza_under, 
+// they are hamza, alef_madda, alef_hamza, waw_hamza, alef_hamza_under,
 // alef, tah_marbota, dal, thal, rah, zai, wow, alef_maksoura
 
 bool Encodings::is_arabic_special(unsigned char c)
 {
-       return  (c >= 0xc1 && c <= 0xc5) ||
+       return  (c >= 0xc1 && c <= 0xc5) ||
                 c == 0xc7 || c  == 0xc9  ||
                 c == 0xcf || c  == 0xe8  ||
                (c >= 0xd0 && c <= 0xd2) ||