diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-09 17:53:50 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-04-05 10:03:42 +0000 |
commit | d6411207bd83b34b4d6c6fd68cd41d3005228b05 (patch) | |
tree | cfce3950c587f65e2e25a689156ecbdc99f2239d /cppuhelper/test/testdefaultbootstrapping.cxx | |
parent | e1193272cd442051a6c1623a46fadf02ea0789a5 (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I removed OSL_DEBUG_LEVEL > 1 conditionals to SAL_INFO
statements
Change-Id: I6f74f5146473464758f35629877a76bb2bc39b4e
Reviewed-on: https://gerrit.libreoffice.org/23071
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'cppuhelper/test/testdefaultbootstrapping.cxx')
-rw-r--r-- | cppuhelper/test/testdefaultbootstrapping.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cppuhelper/test/testdefaultbootstrapping.cxx b/cppuhelper/test/testdefaultbootstrapping.cxx index 8e80efa6c4b6..4e40d252105d 100644 --- a/cppuhelper/test/testdefaultbootstrapping.cxx +++ b/cppuhelper/test/testdefaultbootstrapping.cxx @@ -50,10 +50,7 @@ SAL_IMPLEMENT_MAIN() if (!arg.isEmpty()) { Reference<XInterface> xInterface = smgr->createInstance(arg); - OString tmp = OUStringToOString(arg, RTL_TEXTENCODING_ASCII_US); -#if OSL_DEBUG_LEVEL > 1 - fprintf(stderr, "got the %s service %p\n", tmp.getStr(), xInterface.get()); -#endif + SAL_INFO("cppuhelper", "got the " << arg << " service " << xInterface.get()); result = result && (xInterface.get() != 0); } @@ -65,9 +62,7 @@ SAL_IMPLEMENT_MAIN() fprintf(stderr, "an exception occurred: %s\n", message.getStr()); } -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE("---------------------------------- %i", result); -#endif + SAL_INFO("extensions", "---------------------------------- " << result); return result; } |