From f0c7544df93e3847c4f96934d1d76be3e8d3af85 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 6 Jun 2012 18:46:01 +0900 Subject: nuke dead code Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03 --- extensions/source/activex/so_activex.cxx | 12 ------------ extensions/source/plugin/unx/nppapi.cxx | 6 ------ extensions/source/update/check/updateprotocol.cxx | 5 ----- 3 files changed, 23 deletions(-) (limited to 'extensions') diff --git a/extensions/source/activex/so_activex.cxx b/extensions/source/activex/so_activex.cxx index 94dd0ccdcf1c..0b4eacbf2c8c 100644 --- a/extensions/source/activex/so_activex.cxx +++ b/extensions/source/activex/so_activex.cxx @@ -285,24 +285,12 @@ STDAPI DllRegisterServerNative_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAc { wsprintfA( aSubKey, "%sMIME\\DataBase\\Content Type\\%s", aPrefix, aMimeType[ind] ); if ( ERROR_SUCCESS != RegCreateKeyExA( bForAllUsers ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER, aSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, nKeyAccess, NULL, &hkey, NULL ) -// || ERROR_SUCCESS != RegSetValueExA(hkey, "Extension", 0, REG_SZ, -// (const BYTE *)aFileExt[ind], strlen( aFileExt[ind] ) ) || ERROR_SUCCESS != RegSetValueExA(hkey, "CLSID", 0, REG_SZ, (const BYTE *)aClassID, strlen(aClassID)) ) aResult = FALSE; if( hkey ) RegCloseKey(hkey),hkey= NULL; - -/* - wsprintfA( aSubKey, "%s%s", aPrefix, aFileExt[ind] ); - if ( ERROR_SUCCESS != RegCreateKeyExA( bForAllUsers ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER, aSubKey, 0, NULL, REG_OPTION_NON_VOLATILE, nKeyAccess, NULL, &hkey, NULL ) - || ERROR_SUCCESS != RegSetValueExA(hkey, "Content Type", 0, REG_SZ, - (const BYTE *)aMimeType[ind], strlen( aMimeType[ind] ) ) ) - aResult = FALSE; - if( hkey ) - RegCloseKey(hkey),hkey= NULL; -*/ } } diff --git a/extensions/source/plugin/unx/nppapi.cxx b/extensions/source/plugin/unx/nppapi.cxx index 04c3778b9f04..0be0f468ce7a 100644 --- a/extensions/source/plugin/unx/nppapi.cxx +++ b/extensions/source/plugin/unx/nppapi.cxx @@ -90,12 +90,6 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) } if( ! bFound ) return 0; -/* - { - osl::MutexGuard aGuard( m_aUserEventMutex ); - m_aUserEventIDs.pop_front(); - } -*/ MediatorMessage* pMessage; CommandAtoms nCommand; diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx index 63ca5b6f1c49..161c0965f8d3 100644 --- a/extensions/source/update/check/updateprotocol.cxx +++ b/extensions/source/update/check/updateprotocol.cxx @@ -176,11 +176,6 @@ checkForUpdates( // ignore } -/* - o_rUpdateInfo.Sources.push_back( DownloadSource(true, - UNISTRING("http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=solarissparcwjre&lang=en-US&version=2.2.1") ) ); -*/ - sal_Int32 i, imax = xNodeList->getLength(); for( i = 0; i < imax; ++i ) { -- cgit