]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/FontFile.cc
Import of Xpdf 1.01 in preparation of 2.0x imports
[evince.git] / pdf / xpdf / FontFile.cc
index 56807a4b9157aee6d7e1f90a08ff51236cf11d6d..ae585470d696089d2942cb06637a1d65a8ad9787 100644 (file)
@@ -11,7 +11,6 @@
 #endif
 
 #include <aconf.h>
-#include <locale.h>
 #include <math.h>
 #include <stdlib.h>
 #include <stddef.h>
@@ -2131,11 +2130,7 @@ double Type1CFontFile::getNum(Guchar **ptr, GBool *isFP) {
       }
     } while (i < 64);
     buf[i] = '\0';
-    {
-      char *theLocale = setlocale(LC_NUMERIC, "C");
-      x = atof(buf);
-      setlocale(LC_NUMERIC, theLocale);
-    }
+    x = atof(buf);
     *isFP = gTrue;
   } else if (b0 == 31) {
     x = 0;