'#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:
@@ -26,12 +26,6 @@
|
|||||||
|
|
||||||
#include <fontmap.hxx>
|
#include <fontmap.hxx>
|
||||||
|
|
||||||
// #i42367# prevent MS compiler from using system locale for parsing
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma setlocale("C")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
struct FontEntry
|
struct FontEntry
|
||||||
{
|
{
|
||||||
const char *familyname;
|
const char *familyname;
|
||||||
|
@@ -34,10 +34,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <sal/types.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
|
// To be shorten source code by realking
|
||||||
#define hconv(x) hstr2ucsstr(x).c_str()
|
#define hconv(x) hstr2ucsstr(x).c_str()
|
||||||
|
Reference in New Issue
Block a user