Bug 203947 - Creating '@mozilla.org/xmlextras/proxy/webserviceproxy;1' or '@mozilla.org/xmlextras/proxy/webserviceproperty

r=harishd sr=heikki a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2003-05-02 21:23:31 +00:00
parent cc8c8a61e1
commit 78fcd6c046
2 changed files with 8 additions and 0 deletions

View File

@ -210,6 +210,10 @@ WSPPropertyBagWrapper::GetInterfaceInfo(nsIInterfaceInfo** info)
NS_IMETHODIMP
WSPPropertyBagWrapper::GetInterfaces(PRUint32 *count, nsIID * **array)
{
if (!mIID) {
return NS_ERROR_NOT_INITIALIZED;
}
*count = 2;
nsIID** iids = NS_STATIC_CAST(nsIID**, nsMemory::Alloc(2 * sizeof(nsIID*)));
if (!iids) {

View File

@ -1225,6 +1225,10 @@ WSPProxy::GetInterfaces(nsIScriptableInterfaces * *aInterfaces)
NS_IMETHODIMP
WSPProxy::GetInterfaces(PRUint32 *count, nsIID * **array)
{
if (!mIID) {
return NS_ERROR_NOT_INITIALIZED;
}
*count = 2;
nsIID** iids = NS_STATIC_CAST(nsIID**, nsMemory::Alloc(2 * sizeof(nsIID*)));
if (!iids) {