[Libreoffice-commits] .: sal/osl

Tor Lillqvist tml at kemper.freedesktop.org
Fri Aug 5 12:57:46 PDT 2011


 sal/osl/unx/nlsupport.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 10ac9e750447fd57e3cef7993b0ad6c6538d6269
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Aug 5 22:56:02 2011 +0300

    Print debugging output only if OSL_DEBUG_LEVEL > 1

diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c
index 563aae9..c02af78 100644
--- a/sal/osl/unx/nlsupport.c
+++ b/sal/osl/unx/nlsupport.c
@@ -908,8 +908,8 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
     setenv("LC_CTYPE", locale, 1 );
     setenv("LANG", locale, 1 );
 
-#ifdef DEBUG
-    fprintf( stderr, "nlsupport.c:  _imp_getProcessLocale() returning %s as current locale.\n", locale );
+#if OSL_DEBUG_LEVEL > 1
+    OSL_TRACE("_imp_getProcessLocale() returning %s as current locale.\n", locale );
 #endif
 
 //    pthread_mutex_unlock( &aLocalMutex );


More information about the Libreoffice-commits mailing list