summaryrefslogtreecommitdiff
path: root/extensions/source/plugin
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:18:02 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:18:02 +0000
commit8d5057576a9acef8eb6baa7b40e367429afaba21 (patch)
treeba37819ea05ef984714487fb66d249a8637bd392 /extensions/source/plugin
parent6a1500d87466734a0392322fe9a01187ac0c092b (diff)
INTEGRATION: CWS dbgmacros1 (1.5.72); FILE MERGED
2003/04/09 10:54:50 kso 1.5.72.1: #108413# - debug macro unification.
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r--extensions/source/plugin/unx/npwrap.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx
index 6e713a440eea..7d679a4ec9f4 100644
--- a/extensions/source/plugin/unx/npwrap.cxx
+++ b/extensions/source/plugin/unx/npwrap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: npwrap.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: pl $ $Date: 2002-06-27 19:44:13 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:18:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,7 +77,7 @@ extern void* pPluginLib;
static long GlobalConnectionLostHdl( void* pInst, void* pArg )
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "xhello exiting due to connection lost\n" );
#endif
exit( 0 );
@@ -178,7 +178,7 @@ static void CheckPlugin( const char* pPath )
void *pLib = dlopen( pPath, RTLD_LAZY );
if( ! pLib )
{
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "could not dlopen( %s ) (%s)\n", pPath, dlerror() );
#endif
return;
@@ -188,7 +188,7 @@ static void CheckPlugin( const char* pPath )
dlsym( pLib, "NP_GetMIMEDescription" );
if( pNP_GetMIMEDescription )
printf( "%s\n", pNP_GetMIMEDescription() );
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
else
fprintf( stderr, "could not dlsym NP_GetMIMEDescription (%s)\n", dlerror() );
#endif