diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx index 76622ff81718..4bb05a0109c6 100644 --- a/cppuhelper/source/implbase_ex.cxx +++ b/cppuhelper/source/implbase_ex.cxx @@ -2,9 +2,9 @@ * * $RCSfile: implbase_ex.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2002-08-15 12:36:30 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:34:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,7 +113,7 @@ static inline void checkInterface( Type const & rType ) buf.append( rType.getTypeName() ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\": no interface type!") ); OUString msg( buf.makeStringAndClear() ); -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, str.getStr() ); #endif @@ -162,7 +162,7 @@ static inline type_entry * __getTypeEntries( class_data * cd ) buf.append( rType.getTypeName() ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" is no interface type!") ); OUString msg( buf.makeStringAndClear() ); -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, str.getStr() ); #endif @@ -232,7 +232,7 @@ static inline void * __queryDeepNoXInterface( buf.append( pEntries[ n ].m_type.typeRef->pTypeName ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") ); OUString msg( buf.makeStringAndClear() ); -#ifdef _DEBUG +#if OSL_DEBUG_LEVEL > 0 OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OSL_ENSURE( 0, str.getStr() ); #endif