we think the fix is in to support the original form, so back to the original form we go

This commit is contained in:
scc%mozilla.org 2000-09-04 00:50:50 +00:00
Родитель 61b03233b8
Коммит daa61fe5b5
2 изменённых файлов: 2 добавлений и 10 удалений

Просмотреть файл

@ -2951,11 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
// To figure out the filename of the plugin, we'll need to get the
// plugin's CID, and then navigate through the XPCOM registry to
// pull out the DLL name to which the CID is registered.
nsAutoString path;
path.AppendWithConversion("software/mozilla/XPCOM/classID/");
path.AppendWithConversion(aCID);
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
// and/or why it doesn't know what a |nsPromiseConcatenation| is ... on some platforms
nsAutoString path(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/") + NS_ConvertUCS2toASCII(aCID));
nsRegistryKey cidKey;
rv = aRegistry->GetKey(nsIRegistry::Common, path.GetUnicode(), &cidKey);

Просмотреть файл

@ -2951,11 +2951,7 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
// To figure out the filename of the plugin, we'll need to get the
// plugin's CID, and then navigate through the XPCOM registry to
// pull out the DLL name to which the CID is registered.
nsAutoString path;
path.AppendWithConversion("software/mozilla/XPCOM/classID/");
path.AppendWithConversion(aCID);
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
// and/or why it doesn't know what a |nsPromiseConcatenation| is ... on some platforms
nsAutoString path(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/") + NS_ConvertUCS2toASCII(aCID));
nsRegistryKey cidKey;
rv = aRegistry->GetKey(nsIRegistry::Common, path.GetUnicode(), &cidKey);