'#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>
This commit is contained in:
Stephan Bergmann 2015-11-24 13:18:29 +01:00
parent 7acbf173fc
commit 708ef6a08d
2 changed files with 0 additions and 10 deletions

View File

@ -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;

View File

@ -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()