diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-02 01:28:58 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-03-03 17:00:26 +0000 |
commit | f59136a2ed1e3eb01cc5b62c5a7da07c34cbdfae (patch) | |
tree | e34d2b6db403fce36c6d8a57e9c3adf31c935e90 /sal/qa/rtl/doublelock | |
parent | f336f63da900d76c2bf6e5690f1c8a7bd15a0aa2 (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
Change-Id: If329cf8257684e7bd2936641b8f14ec3e9b9f733
Reviewed-on: https://gerrit.libreoffice.org/22647
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sal/qa/rtl/doublelock')
-rw-r--r-- | sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index faf2ebe3a71e..8678ee069620 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -190,23 +190,16 @@ namespace rtl_DoubleLocking sal_Int32 nValueOK2 = 0; nValueOK2 = p2Thread->getOK(); -#if OSL_DEBUG_LEVEL > 2 - printf("Value in Thread #1 is %" SAL_PRIdINT32 "\n", nValueOK); - printf("Value in Thread #2 is %" SAL_PRIdINT32 "\n", nValueOK2); -#else - (void)nValueOK2; -#endif - + SAL_INFO("sal.doublelock", "Value in Thread #1 is " << nValueOK); + SAL_INFO("sal.doublelock", "Value in Thread #2 is " << nValueOK2); sal_Int32 nValueFails = 0; nValueFails = pThread->getFails(); sal_Int32 nValueFails2 = 0; nValueFails2 = p2Thread->getFails(); -#if OSL_DEBUG_LEVEL > 2 - printf("Fails in Thread #1 is %" SAL_PRIdINT32 "\n", nValueFails); - printf("Fails in Thread #2 is %" SAL_PRIdINT32 "\n", nValueFails2); -#endif + SAL_INFO("sal.doublelock", "Fails in Thread #1 is " << nValueFails); + SAL_INFO("sal.doublelock", "Fails in Thead #2 is " << nValueFails2); delete pThread; delete p2Thread; |