diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 13:38:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 13:38:09 +0100 |
commit | 78ac39dcef36b3881b2574b2db1e0d5a068c7804 (patch) | |
tree | a3194383e16d962779822115f635b2da21a32399 /sal | |
parent | 0e589394e8452ee8dea8e807d3b5ef6620a1c6c1 (diff) |
Revert "-Werror,-Wc++11-compat-deprecated-writable-strings"
This reverts commit 0e589394e8452ee8dea8e807d3b5ef6620a1c6c1, which
was a misguided attempt at solving a problem already solved by Tor.
Diffstat (limited to 'sal')
-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 2a5c659ded01..a7e764059936 100644 --- a/sal/osl/unx/nlsupport.cxx +++ b/sal/osl/unx/nlsupport.cxx @@ -844,7 +844,7 @@ rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) void _imp_getProcessLocale( rtl_Locale ** ppLocale ) { - static char const *locale = NULL; + static char *locale = NULL; /* basic thread safeness */ // pthread_mutex_lock( &aLocalMutex ); |