diff options
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/nlsupport.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx index 01225e631d82..03a7c1c550ca 100644 --- a/sal/osl/unx/nlsupport.cxx +++ b/sal/osl/unx/nlsupport.cxx @@ -836,9 +836,11 @@ void imp_getProcessLocale( rtl_Locale ** ppLocale ) /* return the locale */ *ppLocale = parse_locale( locale.getStr() ); +#ifndef IOS setenv( "LC_ALL", locale.getStr(), 1); setenv("LC_CTYPE", locale.getStr(), 1 ); setenv("LANG", locale.getStr(), 1 ); +#endif } #else /***************************************************************************** |