diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:18:20 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 15:18:20 +0000 |
commit | 7f66bdaedb679941623e84a807cf5621d645a4ab (patch) | |
tree | 3e61367cd7021bbe92f928228c1c3ec54dabd137 /extensions | |
parent | 929c6b51dc9f6ee9ec7dedaaec3e1e98e5071dd7 (diff) |
INTEGRATION: CWS dbgmacros1 (1.6.72); FILE MERGED
2003/04/09 10:54:51 kso 1.6.72.1: #108413# - debug macro unification.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/plugin/unx/unxmgr.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx index 2a5d49edae1a..42a61e7e2926 100644 --- a/extensions/source/plugin/unx/unxmgr.cxx +++ b/extensions/source/plugin/unx/unxmgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unxmgr.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: pl $ $Date: 2002-06-27 19:44:14 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:18:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -177,7 +177,7 @@ Sequence<PluginDescription> XPluginManager_Impl::getPluginDescriptions() throw() && strncmp( ((struct dirent*)aBuffer)->d_name, "libflashplayer.so", 17 ) ) { -#if defined DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "Trying plugin %s ... ", aFileName.GetBuffer() ); #endif int nStructs; @@ -185,13 +185,13 @@ Sequence<PluginDescription> XPluginManager_Impl::getPluginDescriptions() throw() CheckPlugin( aFileName, nStructs ); if( pStructs ) { -#if defined DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "success: %d\n", nStructs ); #endif for( int i = 0; i < nStructs; i++ ) { aPlugins.push_back( pStructs[i] ); -#if defined DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "Mimetype: %s\nExtension: %s\n" "Description: %s\n", ::rtl::OUStringToOString( pStructs[i]->Mimetype, aEncoding ).getStr(), @@ -202,7 +202,7 @@ Sequence<PluginDescription> XPluginManager_Impl::getPluginDescriptions() throw() } delete pStructs; } -#if defined DEBUG +#if OSL_DEBUG_LEVEL > 1 else fprintf(stderr, "failed\n" ); #endif @@ -213,7 +213,7 @@ Sequence<PluginDescription> XPluginManager_Impl::getPluginDescriptions() throw() } } aDescriptions = Sequence<PluginDescription>( aPlugins.size() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "found %d plugins\n", aPlugins.size() ); #endif list<PluginDescription*>::iterator iter; |