summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-06-06 18:46:01 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-06-06 23:05:59 +0900
commitf0c7544df93e3847c4f96934d1d76be3e8d3af85 (patch)
treec05c56fbc4a69e178dedc718e6ff39be938c0ce9 /extensions
parent4c2e9fc655b6480ffc7f0feb5d07b8106b6b8e22 (diff)
nuke dead code
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/so_activex.cxx12
-rw-r--r--extensions/source/plugin/unx/nppapi.cxx6
-rw-r--r--extensions/source/update/check/updateprotocol.cxx5
3 files changed, 0 insertions, 23 deletions
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 )
{