diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-19 14:13:18 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-19 14:14:51 +0200 |
commit | 76cdf2ffeafa6a516c15e5d50c20848205665872 (patch) | |
tree | a3194383e16d962779822115f635b2da21a32399 | |
parent | Resolves: fdo#86451 guard all the tops post pop (diff) | |
download | core-76cdf2ffeafa6a516c15e5d50c20848205665872.tar.gz core-76cdf2ffeafa6a516c15e5d50c20848205665872.zip |
ISO C++11 does not allow conversion from string literal to 'char *'
Change-Id: I098d0b8b3428cbf57a69c331515093df36e0c172
-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 */ |