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

Rohan Kumar rohankanojia420 at gmail.com
Fri Mar 11 12:09:55 UTC 2016


 testtools/source/performance/pseudo.cxx |    2 +-
 testtools/source/performance/ubtest.cxx |    3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 96e44b3b510bc97ddda6caf937d031ae6a656d58
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date:   Wed Mar 9 17:13:25 2016 +0530

    tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
    
    I replaced the OSL_DEBUG_LEVEL > 1 to OSL_DEBUG_LEVEL > 0
    conditionals. At some places i removed the logs containing
    OSL_DEBUG_LEVEL > 1 as OSL_DEBUG_LEVEL > 0 is compiled in
    production code
    
    Change-Id: I4466e7a2025b055f89fc525d7412f10bd4d8a07f
    Reviewed-on: https://gerrit.libreoffice.org/23067
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx
index a23ea01..bff6e99 100644
--- a/testtools/source/performance/pseudo.cxx
+++ b/testtools/source/performance/pseudo.cxx
@@ -84,7 +84,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, v
     typelib_typedescription_release( (typelib_TypeDescription *)pThis->pTypeDescr );
     (*pThis->pPseudoMapping->release)( pThis->pPseudoMapping );
 
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
     *(int *)pProxy = 0xdeadbabe;
 #endif
     delete pThis;
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index f135113..abc532f 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -1161,9 +1161,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
         // dump out tables
 
         out( "\nTimes( ratio to direct in process )", stream );
-#if OSL_DEBUG_LEVEL > 1
-        out ("; compiled with OSL_DEBUG_LEVEL > 1", stream );
-#endif
         out( ":", stream );
 
         sal_Int32 nPos = 60;


More information about the Libreoffice-commits mailing list