diff options
Diffstat (limited to 'pdf/xpdf/FontFile.cc')
-rw-r--r-- | pdf/xpdf/FontFile.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pdf/xpdf/FontFile.cc b/pdf/xpdf/FontFile.cc index 56807a4..ae58547 100644 --- a/pdf/xpdf/FontFile.cc +++ b/pdf/xpdf/FontFile.cc @@ -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; |