diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:34:31 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:34:31 +0000 |
commit | 877f4d93af690d2a700740cfbfee86546b9b7b73 (patch) | |
tree | 4bedcd3e6ed73199713413ddc950fbfaf0af22d5 /cppuhelper/source/factory.cxx | |
parent | 7a1d5e5f7397a4ea2cff7b02c31bc164d53831e2 (diff) |
INTEGRATION: CWS dbgmacros1 (1.16.40); FILE MERGED
2003/04/09 10:40:10 kso 1.16.40.1: #108413# - debug macro unification.
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 7f8ed3e926be..46a7ad01efcf 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -2,9 +2,9 @@ * * $RCSfile: factory.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2002-08-15 12:26:49 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:34:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -218,7 +218,7 @@ Reference<XInterface > OSingleFactoryHelper::createInstanceEveryTime( } else if( pCreateFunction ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 if (xContext.is()) { OSL_TRACE( "### ignoring context calling OSingleFactoryHelper::createInstanceEveryTime()!\n" ); @@ -690,7 +690,7 @@ Reference<XInterface > SAL_CALL ORegistryFactoryHelper::createInstanceWithArgume } else if( xModuleFactory.is() ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE( "### no context ORegistryFactoryHelper::createInstanceWithArgumentsAndContext()!\n" ); #endif return xModuleFactory->createInstanceWithArgumentsAndContext( Arguments, Reference< XComponentContext >() ); @@ -723,7 +723,7 @@ Reference< XInterface > ORegistryFactoryHelper::createInstanceWithArgumentsAndCo } else if( xModuleFactoryDepr.is() ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 if (xContext.is()) { OSL_TRACE( "### ignoring context calling ORegistryFactoryHelper::createInstanceWithArgumentsAndContext()!\n" ); |