hack to fix pravda bustage
This commit is contained in:
@@ -2952,7 +2952,11 @@ LoadXPCOMPlugin(nsIComponentManager* aComponentManager,
|
||||
// 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 = NS_LITERAL_STRING("software/mozilla/XPCOM/classID/") + NS_ConvertASCIItoUCS2(aCID);
|
||||
NS_NAMED_LITERAL_STRING(literal, "software/mozilla/XPCOM/classID/");
|
||||
nsAReadableString& readable = literal;
|
||||
path = readable + NS_ConvertASCIItoUCS2(aCID);
|
||||
// this contortion to append is a hack until I can figure out why the right |operator+| is not found
|
||||
// on some platforms
|
||||
|
||||
nsRegistryKey cidKey;
|
||||
rv = aRegistry->GetKey(nsIRegistry::Common, path.GetUnicode(), &cidKey);
|
||||
|
||||
Reference in New Issue
Block a user