Kaydet (Commit) 708ef6a0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

'#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/20148Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 7acbf173
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment