diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:34:42 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:34:42 +0000 |
commit | e425b8e3fd4f7164223d9305c09adeb6a2cafab8 (patch) | |
tree | 2d3ed79d45bd88696c2fc17d81fc55cfe466fc2b /cppuhelper/source/implbase.cxx | |
parent | 877f4d93af690d2a700740cfbfee86546b9b7b73 (diff) |
INTEGRATION: CWS dbgmacros1 (1.9.36); FILE MERGED
2003/04/09 10:40:11 kso 1.9.36.1: #108413# - debug macro unification.
Diffstat (limited to 'cppuhelper/source/implbase.cxx')
-rw-r--r-- | cppuhelper/source/implbase.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index c65720f42aec..f133725059bf 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -2,9 +2,9 @@ * * $RCSfile: implbase.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2002-08-15 12:33:12 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:34:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -169,7 +169,7 @@ void ClassData::writeTypeOffset( const Type & rType, sal_Int32 nOffset ) SAL_THR if (arType2Offset[nType2Offset].pTD) ++nType2Offset; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 else { OString msg( "### cannot get type description for " ); @@ -318,7 +318,7 @@ void WeakComponentImplHelperBase::release() } catch (RuntimeException & exc) // don't break throw () { -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, msg.getStr() ); #endif @@ -356,7 +356,7 @@ void WeakComponentImplHelperBase::dispose() MutexGuard aGuard( rBHelper.rMutex ); rBHelper.bDisposed = sal_True; rBHelper.bInDispose = sal_False; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, msg.getStr() ); #endif @@ -453,7 +453,7 @@ void WeakAggComponentImplHelperBase::release() } catch (RuntimeException & exc) // don't break throw () { -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, msg.getStr() ); #endif @@ -491,7 +491,7 @@ void WeakAggComponentImplHelperBase::dispose() MutexGuard aGuard( rBHelper.rMutex ); rBHelper.bDisposed = sal_True; rBHelper.bInDispose = sal_False; -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, msg.getStr() ); #endif |