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

Rohan Kumar rohankanojia420 at gmail.com
Tue Mar 15 00:20:09 UTC 2016


 ucbhelper/source/client/content.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bfa7b700480fdc4c52ea91f30bcd274d963721f5
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date:   Mon Mar 14 11:51:55 2016 +0530

    tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
    
    I simply replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0
    as suggested in easy hack
    
    Change-Id: Id30d93fa439fa4cddf4a56c90b6054203c7882b1
    Reviewed-on: https://gerrit.libreoffice.org/23233
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index aa5dc96..87ec398 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -1120,7 +1120,7 @@ Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
         m_xContentEventListener = new ContentEventListener_Impl( *this );
         m_xContent->addContentEventListener( m_xContentEventListener );
 
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
         // Only done on demand in product version for performance reasons,
         // but a nice debug helper.
         getURL();
@@ -1153,7 +1153,7 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
         m_xContent = xContent;
         m_xContent->addContentEventListener( m_xContentEventListener );
 
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
         // Only done on demand in product version for performance reasons,
         // but a nice debug helper.
         getURL();


More information about the Libreoffice-commits mailing list