diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-09 17:13:25 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-03-11 12:09:32 +0000 |
commit | 96e44b3b510bc97ddda6caf937d031ae6a656d58 (patch) | |
tree | c60c47a73d87ce07e99efcd15affeae61ef3a2d7 /testtools | |
parent | a32bfdfd280b51d1bd5283243e286f056d3986dd (diff) |
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@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/performance/pseudo.cxx | 2 | ||||
-rw-r--r-- | testtools/source/performance/ubtest.cxx | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/testtools/source/performance/pseudo.cxx b/testtools/source/performance/pseudo.cxx index a23ea010c9ab..bff6e998e092 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 f1351132ea0a..abc532fd5b97 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; |