diff options
Diffstat (limited to 'vcl/unx/generic/app/i18n_im.cxx')
-rw-r--r-- | vcl/unx/generic/app/i18n_im.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/app/i18n_im.cxx b/vcl/unx/generic/app/i18n_im.cxx index 0f6672d6f6dd..2f09e10b4891 100644 --- a/vcl/unx/generic/app/i18n_im.cxx +++ b/vcl/unx/generic/app/i18n_im.cxx @@ -143,7 +143,7 @@ SetSystemLocale( const char* p_inlocale ) return p_outlocale; } -#ifdef SOLARIS +#ifdef __sun static void SetSystemEnvironment( const OUString& rLocale ) { @@ -206,15 +206,15 @@ SalI18N_InputMethod::SetLocale() { osl_setThreadTextEncoding (RTL_TEXTENCODING_ISO_8859_1); locale = SetSystemLocale( "en_US" ); - #ifdef SOLARIS +#ifdef __sun SetSystemEnvironment( "en_US" ); - #endif +#endif if (! IsXWindowCompatibleLocale(locale)) { locale = SetSystemLocale( "C" ); - #ifdef SOLARIS +#ifdef __sun SetSystemEnvironment( "C" ); - #endif +#endif if (! IsXWindowCompatibleLocale(locale)) mbUseable = False; } |