diff options
-rw-r--r-- | sal/osl/unx/nlsupport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx index 03107ef4b1fe..a7e764059936 100644 --- a/sal/osl/unx/nlsupport.cxx +++ b/sal/osl/unx/nlsupport.cxx @@ -873,7 +873,7 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale ) locale = getenv( "LANG" ); if( NULL == locale ) - locale = "C"; + locale = strdup("C"); } /* return the locale */ |