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/source/factory.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/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index f14494ffe01c..5748921fd73a 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -699,9 +699,7 @@ Reference<XInterface > SAL_CALL ORegistryFactoryHelper::createInstanceWithArgume } else if( xModuleFactory.is() ) { -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "### no context ORegistryFactoryHelper::createInstanceWithArgumentsAndContext()!" ); -#endif + SAL_INFO("cppuhelper", "no context ORegistryFactoryHelper::createInstanceWithArgumentsAndContext()!"); return xModuleFactory->createInstanceWithArgumentsAndContext( Arguments, Reference< XComponentContext >() ); } @@ -732,12 +730,7 @@ Reference< XInterface > ORegistryFactoryHelper::createInstanceWithArgumentsAndCo } else if( xModuleFactoryDepr.is() ) { -#if OSL_DEBUG_LEVEL > 1 - if (xContext.is()) - { - OSL_TRACE( "### ignoring context calling ORegistryFactoryHelper::createInstanceWithArgumentsAndContext()!" ); - } -#endif + SAL_INFO_IF(xContext.is(), "cppuhelper", "ignoring context calling ORegistryFactoryHelper::createInstaceWithArgumentsAndContext()!"); return xModuleFactoryDepr->createInstanceWithArguments( rArguments ); } |