[Libreoffice-commits] core.git: ucb/source

Tor Lillqvist tml at iki.fi
Fri Mar 15 07:53:54 PDT 2013


 ucb/source/ucp/webdav-neon/NeonSession.cxx |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

New commits:
commit fcbd9a5c4b9ea2bcbb08dd86d164f0d075d6befb
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Mar 15 16:52:00 2013 +0200

    Revert "Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism"
    
    It won't work, ne_debug_init() will be called always (in non-release builds).
    
    This reverts commit b6f6c3a2ed19cc34cce5d19c32c921227165bdd0.

diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 6313a29..81bb6ab 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -695,20 +695,20 @@ void NeonSession::Init()
             // #122205# - libxml2 needs to be initialized once if used by
             // multithreaded programs like OOo.
             xmlInitParser();
-
+#if OSL_DEBUG_LEVEL > 0
             // for more debug flags see ne_utils.h; NE_DEBUGGING must be defined
             // while compiling neon in order to actually activate neon debug
             // output.
-            SAL_INFO("ucb.ucp.webdav", "Turning on Neon debug output (if enabled when building Neon)" <<
-                     (ne_debug_init( stderr, NE_DBG_FLUSH
-                                     | NE_DBG_HTTP
-                                     // | NE_DBG_HTTPBODY
-                                     // | NE_DBG_HTTPAUTH
-                                     // | NE_DBG_XML
-                                     // | NE_DBG_XMLPARSE
-                                     | NE_DBG_LOCKS
-                                     | NE_DBG_SSL
-                                     ), ""));
+            ne_debug_init( stderr, NE_DBG_FLUSH
+                           | NE_DBG_HTTP
+                           // | NE_DBG_HTTPBODY
+                           // | NE_DBG_HTTPAUTH
+                           // | NE_DBG_XML
+                           // | NE_DBG_XMLPARSE
+                           | NE_DBG_LOCKS
+                           | NE_DBG_SSL
+                         );
+#endif
             m_bGlobalsInited = true;
         }
 


More information about the Libreoffice-commits mailing list