From 708ef6a08dfcd357845c37dbe03fd1ebca5ba587 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 24 Nov 2015 13:18:29 +0100 Subject: [PATCH] '#pragma setlocale("C")' is probably no longer necessary ...as in both files the direct use of non-ASCII characters in ordinary string literals has since been changed to use \xXX escapes instead Change-Id: Ic3e17a9849288a02dc69d7702782fefccb7026ee Reviewed-on: https://gerrit.libreoffice.org/20148 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- hwpfilter/source/fontmap.cxx | 6 ------ hwpfilter/source/hwpreader.cxx | 4 ---- 2 files changed, 10 deletions(-) diff --git a/hwpfilter/source/fontmap.cxx b/hwpfilter/source/fontmap.cxx index 52a0ed0e3991..259722ee791d 100644 --- a/hwpfilter/source/fontmap.cxx +++ b/hwpfilter/source/fontmap.cxx @@ -26,12 +26,6 @@ #include -// #i42367# prevent MS compiler from using system locale for parsing -#ifdef _MSC_VER -#pragma setlocale("C") -#endif - - struct FontEntry { const char *familyname; diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 764f0957d09e..a39ff9452a9d 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -34,10 +34,6 @@ #include #include #include -// #i42367# prevent MS compiler from using system locale for parsing -#ifdef _MSC_VER -#pragma setlocale("C") -#endif // To be shorten source code by realking #define hconv(x) hstr2ucsstr(x).c_str()