diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-20 18:58:10 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-20 18:58:10 +0100 |
commit | 58a194b33792c5d19787931ee9d24b9d68c009e0 (patch) | |
tree | 0a7b1249a42bf5b406172d4b3b0c238255c7db1d /extensions/source/plugin/win | |
parent | 7d9d050495054307f3eaea044e39cd16eeaee458 (diff) |
Remove hard-coded debug stuff
Diffstat (limited to 'extensions/source/plugin/win')
-rw-r--r-- | extensions/source/plugin/win/winmgr.cxx | 20 |
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 } } } |