Bug 37275, Changing value of all progids, and changing everywhere a progid

is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rayw%netscape.com
2000-09-13 23:57:52 +00:00
parent 7fadd551e8
commit d9228441a4
1052 changed files with 4384 additions and 4384 deletions

View File

@@ -1386,14 +1386,14 @@ PresShell::Init(nsIDocument* aDocument,
}
// cache the observation service
mObserverService = do_GetService(NS_OBSERVERSERVICE_PROGID,
mObserverService = do_GetService(NS_OBSERVERSERVICE_CONTRACTID,
&result);
if (NS_FAILED(result)) {
return result;
}
// cache the drag service so we can check it during reflows
mDragService = do_GetService("component://netscape/widget/dragservice");
mDragService = do_GetService("@mozilla.org/widget/dragservice;1");
return NS_OK;
}
@@ -3092,7 +3092,7 @@ PresShell::DoCopy()
// the transferable wants the number bytes for the data and since it is double byte
// we multiply by 2.
nsCOMPtr<nsISupportsWString> dataWrapper;
rv = nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_PROGID,
rv = nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_CONTRACTID,
nsnull,
NS_GET_IID(nsISupportsWString),
getter_AddRefs(dataWrapper));