summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 15:18:41 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 15:18:41 +0000
commit27d63ca21ec0fe0e2419990f5e6565501479887f (patch)
tree8b95a71f42391e9c033a3a8c0a29595122ce3679 /extensions/source
parent6370fedfa3c0dee483aa6010de95973644ef3ca5 (diff)
INTEGRATION: CWS dbgmacros1 (1.9.66); FILE MERGED
2003/04/09 10:54:52 kso 1.9.66.1: #108413# - debug macro unification.
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/plugin/win/winmgr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index a8a40e7cbacf..969159b4dc3b 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: winmgr.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: dbo $ $Date: 2002-11-19 15:22:11 $
+ * last change: $Author: vg $ $Date: 2003-04-15 16:18:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,7 +98,7 @@ using namespace com::sun::star::plugin;
typedef map< OString, OUString, less< OString > > PluginLocationMap;
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
#include <stdio.h>
static void logPlugin( OUString const & path_ )
@@ -176,7 +176,7 @@ static void addPluginsFromPath( const TCHAR * pPluginsPath, PluginLocationMap &
OUString path( OStringToOUString( arComplete, RTL_TEXTENCODING_MS_1252 ) );
#endif
rPlugins[ aName ] = path;
-#ifdef DEBUG
+#if OSL_DEBUG_LEVEL > 1
logPlugin( path );
#endif
}
@@ -468,7 +468,7 @@ Sequence< PluginDescription > XPluginManager_Impl::getPluginDescriptions(void) t
s_aDescriptions.realloc( nTok );
}
}
-#if DEBUG
+#if OSL_DEBUG_LEVEL > 1
else
DBG_ERROR( "### cannot get MIME type or extensions!" );
#endif