diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:14:50 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:14:50 +0000 |
commit | 1ac7bea716382935a43ee2099ec9d3c73b46dfcc (patch) | |
tree | ca59fe410fe7e01cf162fa20fe1083d7648d1316 /psprint | |
parent | 9f646dfb97e68ddab16c558d89ea42b4bf1a1d5c (diff) |
INTEGRATION: CWS dbgmacros1 (1.5.2.3.2); FILE MERGED
2003/04/15 14:40:15 kso 1.5.2.3.2.2: RESYNC: (1.6-1.7); FILE MERGED
2003/04/09 12:04:57 kso 1.5.2.3.2.1: #108413# - debug macro unification.
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/source/helper/ppdparser.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/psprint/source/helper/ppdparser.cxx b/psprint/source/helper/ppdparser.cxx index cb7516725470..7ce14454fcad 100644 --- a/psprint/source/helper/ppdparser.cxx +++ b/psprint/source/helper/ppdparser.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ppdparser.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2003-04-11 17:18:38 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:14:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -90,7 +90,7 @@ using namespace psp; using namespace rtl; #undef DBG_ASSERT -#if defined DBG_UTIL || defined DEBUG +#if defined DBG_UTIL || (OSL_DEBUG_LEVEL > 1) #define BSTRING(x) ByteString( x, gsl_getSystemTextEncoding() ) #define DBG_ASSERT( x, y ) { if( ! (x) ) fprintf( stderr, (y) ); } #else @@ -1384,7 +1384,7 @@ bool PPDContext::resetValue( const PPDKey* pKey, bool bDefaultable ) bool bRet = pResetValue ? ( setValue( pKey, pResetValue ) == pResetValue ? true : false ) : false; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "%s\n", bRet ? "succeeded" : "failed" ); #endif |