summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-20 18:58:10 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-20 18:58:10 +0100
commit58a194b33792c5d19787931ee9d24b9d68c009e0 (patch)
tree0a7b1249a42bf5b406172d4b3b0c238255c7db1d
parent7d9d050495054307f3eaea044e39cd16eeaee458 (diff)
Remove hard-coded debug stuff
-rw-r--r--extensions/source/plugin/win/winmgr.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index 7491f5d4c5e8..04859d46b4e2 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -64,20 +64,6 @@ using namespace com::sun::star::plugin;
typedef map< OString, OUString, less< OString > > PluginLocationMap;
-
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-
-static void logPlugin( OUString const & path_ )
-{
- static FILE * s_file = 0;
- if (! s_file)
- s_file = fopen( "d:\\plugins.log", "a+" );
- OString path( OUStringToOString( path_, RTL_TEXTENCODING_ASCII_US ) );
- fprintf( s_file, "%s\n", path.getStr() );
-}
-#endif
-
//__________________________________________________________________________________________________
static void addPluginsFromPath( const TCHAR * pPluginsPath, PluginLocationMap & rPlugins )
{
@@ -121,9 +107,6 @@ static void addPluginsFromPath( const TCHAR * pPluginsPath, PluginLocationMap &
OUString path( OStringToOUString( arComplete, RTL_TEXTENCODING_MS_1252 ) );
rPlugins[ aName ] = path;
-#if OSL_DEBUG_LEVEL > 1
- logPlugin( path );
-#endif
}
if (! ::FindNextFile( hFind, &aFindData ))
@@ -252,9 +235,6 @@ static void add_MozPlugin( HKEY hKey, PluginLocationMap & rPlugins )
rPlugins.find( aName ) == rPlugins.end())
{
rPlugins[ aName ] = aUPath;
-#if OSL_DEBUG_LEVEL > 1
- logPlugin( aUPath );
-#endif
}
}
}