INTEGRATION: CWS dbgmacros1 (1.1.4.1.22); FILE MERGED
2003/04/09 10:52:28 kso 1.1.4.1.22.1: #108413# - debug macro unification.
This commit is contained in:
parent
2f8939a0bc
commit
03a9e99f3a
1 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: bmp.cxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: hr $ $Date: 2003-03-25 14:05:29 $
|
||||
* last change: $Author: vg $ $Date: 2003-04-15 17:10:05 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -434,7 +434,7 @@ PixmapHolder::PixmapHolder( Display* pDisplay ) :
|
|||
*/
|
||||
if( ! XMatchVisualInfo( m_pDisplay, DefaultScreen( m_pDisplay ), 24, TrueColor, &m_aInfo ) )
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
fprintf( stderr, "PixmapHolder reverting to default visual\n" );
|
||||
#endif
|
||||
Visual* pVisual = DefaultVisual( m_pDisplay, DefaultScreen( m_pDisplay ) );
|
||||
|
@ -448,7 +448,7 @@ PixmapHolder::PixmapHolder( Display* pDisplay ) :
|
|||
m_aInfo.depth = DefaultDepth( m_pDisplay, m_aInfo.screen );
|
||||
}
|
||||
m_aColormap = DefaultColormap( m_pDisplay, m_aInfo.screen );
|
||||
#ifdef DEBUG
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
static const char* pClasses[] =
|
||||
{ "StaticGray", "GrayScale", "StaticColor", "PseudoColor", "TrueColor", "DirectColor" };
|
||||
fprintf( stderr, "PixmapHolder visual: id = 0x%x, class = %s (%d), depth=%d; color map = 0x%x\n",
|
||||
|
|
Loading…
Reference in a new issue