'#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:
parent
7acbf173fc
commit
708ef6a08d
@ -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;
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user