From 1ac7bea716382935a43ee2099ec9d3c73b46dfcc Mon Sep 17 00:00:00 2001
From: Vladimir Glazounov <vg@openoffice.org>
Date: Tue, 15 Apr 2003 15:14:50 +0000
Subject: 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.

---
 psprint/source/helper/ppdparser.cxx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'psprint')

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
 
-- 
cgit