Kaydet (Commit) 96e44b3b authored tarafından Rohan Kumar's avatar Rohan Kumar Kaydeden (comit) Björn Michaelsen

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/23067Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarBjörn Michaelsen <bjoern.michaelsen@canonical.com>
üst a32bfdfd
...@@ -84,7 +84,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, v ...@@ -84,7 +84,7 @@ static void SAL_CALL pseudo_unoInterfaceProxy_free( uno_ExtEnvironment * pEnv, v
typelib_typedescription_release( (typelib_TypeDescription *)pThis->pTypeDescr ); typelib_typedescription_release( (typelib_TypeDescription *)pThis->pTypeDescr );
(*pThis->pPseudoMapping->release)( pThis->pPseudoMapping ); (*pThis->pPseudoMapping->release)( pThis->pPseudoMapping );
#if OSL_DEBUG_LEVEL > 1 #if OSL_DEBUG_LEVEL > 0
*(int *)pProxy = 0xdeadbabe; *(int *)pProxy = 0xdeadbabe;
#endif #endif
delete pThis; delete pThis;
......
...@@ -1161,9 +1161,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs ) ...@@ -1161,9 +1161,6 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
// dump out tables // dump out tables
out( "\nTimes( ratio to direct in process )", stream ); out( "\nTimes( ratio to direct in process )", stream );
#if OSL_DEBUG_LEVEL > 1
out ("; compiled with OSL_DEBUG_LEVEL > 1", stream );
#endif
out( ":", stream ); out( ":", stream );
sal_Int32 nPos = 60; sal_Int32 nPos = 60;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment