INTEGRATION: CWS dbgmacros1 (1.5.40); FILE MERGED

2003/04/09 10:40:11 kso 1.5.40.1: #108413# - debug macro unification.
This commit is contained in:
Vladimir Glazounov 2003-04-15 15:34:54 +00:00
parent e425b8e3fd
commit 6adc9ee7f1

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: implbase_ex.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -113,7 +113,7 @@ static inline void checkInterface( Type const & rType )
buf.append( rType.getTypeName() ); buf.append( rType.getTypeName() );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\": no interface type!") ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\": no interface type!") );
OUString msg( buf.makeStringAndClear() ); OUString msg( buf.makeStringAndClear() );
#ifdef _DEBUG #if OSL_DEBUG_LEVEL > 0
OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, str.getStr() ); OSL_ENSURE( 0, str.getStr() );
#endif #endif
@ -162,7 +162,7 @@ static inline type_entry * __getTypeEntries( class_data * cd )
buf.append( rType.getTypeName() ); buf.append( rType.getTypeName() );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" is no interface type!") ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" is no interface type!") );
OUString msg( buf.makeStringAndClear() ); OUString msg( buf.makeStringAndClear() );
#ifdef _DEBUG #if OSL_DEBUG_LEVEL > 0
OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, str.getStr() ); OSL_ENSURE( 0, str.getStr() );
#endif #endif
@ -232,7 +232,7 @@ static inline void * __queryDeepNoXInterface(
buf.append( pEntries[ n ].m_type.typeRef->pTypeName ); buf.append( pEntries[ n ].m_type.typeRef->pTypeName );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") );
OUString msg( buf.makeStringAndClear() ); OUString msg( buf.makeStringAndClear() );
#ifdef _DEBUG #if OSL_DEBUG_LEVEL > 0
OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) ); OString str( OUStringToOString( msg, RTL_TEXTENCODING_ASCII_US ) );
OSL_ENSURE( 0, str.getStr() ); OSL_ENSURE( 0, str.getStr() );
#endif #endif