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 <[email protected]> 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 <[email protected]> Reviewed-by: Björn Michaelsen <[email protected]> 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;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
