hwpfilter/source/fontmap.cxx   |    6 ------
 hwpfilter/source/hwpreader.cxx |    4 ----
 2 files changed, 10 deletions(-)

New commits:
commit 708ef6a08dfcd357845c37dbe03fd1ebca5ba587
Author: Stephan Bergmann <[email protected]>
Date:   Tue Nov 24 13:18:29 2015 +0100

    '#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 <[email protected]>
    Tested-by: Stephan Bergmann <[email protected]>

diff --git a/hwpfilter/source/fontmap.cxx b/hwpfilter/source/fontmap.cxx
index 52a0ed0..259722e 100644
--- a/hwpfilter/source/fontmap.cxx
+++ b/hwpfilter/source/fontmap.cxx
@@ -26,12 +26,6 @@
 
 #include <fontmap.hxx>
 
-// #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 764f095..a39ff94 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -34,10 +34,6 @@
 #include <iostream>
 #include <locale.h>
 #include <sal/types.h>
-// #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()
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to