diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 13:18:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 15:44:26 +0000 |
commit | 708ef6a08dfcd357845c37dbe03fd1ebca5ba587 (patch) | |
tree | 699cd317cbc078dee16d4a6880a58054ac7c033e /hwpfilter | |
parent | 7acbf173fc9f624da144a242e33033de56550a2f (diff) |
'#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 <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/fontmap.cxx | 6 | ||||
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 4 |
2 files changed, 0 insertions, 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 <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 764f0957d09e..a39ff9452a9d 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() |