mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 03:44:37 +00:00
OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST|
This commit is contained in:
parent
4b2a937084
commit
2accda54de
@ -2951,7 +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(Concat(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/"), NS_ConvertASCIItoUCS2(aCID)));
|
||||
nsAutoString path( NS_READABLE_CAST(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/")) + NS_READABLE_CAST(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
|
||||
|
||||
|
@ -2951,7 +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(Concat(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/"), NS_ConvertASCIItoUCS2(aCID)));
|
||||
nsAutoString path( NS_READABLE_CAST(NS_LITERAL_STRING("software/mozilla/XPCOM/classID/")) + NS_READABLE_CAST(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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user