[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Wed Nov 19 04:32:26 PST 2014


 sal/osl/unx/nlsupport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0e589394e8452ee8dea8e807d3b5ef6620a1c6c1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 19 13:31:37 2014 +0100

    -Werror,-Wc++11-compat-deprecated-writable-strings
    
    Change-Id: I4a8cbbbebe9833625af4805074d0c68ef3623ebd

diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx
index a7e7640..2a5c659 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 *locale = NULL;
+    static char const *locale = NULL;
 
     /* basic thread safeness */
 //    pthread_mutex_lock( &aLocalMutex );


More information about the Libreoffice-commits mailing list