diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:10:05 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 16:10:05 +0000 |
commit | 03a9e99f3a589cb5c3d1fc921da94846dd2799e5 (patch) | |
tree | 78c40ec3752eeab9907fa1cf70c730d84bc54059 /dtrans/source/X11 | |
parent | 2f8939a0bc1ce0e10309598f6159d498c0b345fc (diff) |
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.
Diffstat (limited to 'dtrans/source/X11')
-rw-r--r-- | dtrans/source/X11/bmp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/X11/bmp.cxx b/dtrans/source/X11/bmp.cxx index 8d2f2fcbb62a..f56a77b4fc06 100644 --- a/dtrans/source/X11/bmp.cxx +++ b/dtrans/source/X11/bmp.cxx @@ -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", |