From 4ccb3ba47e75be3a9c9ccb8d99c520b52bf922d2 Mon Sep 17 00:00:00 2001 From: "vidur%netscape.com" Date: Fri, 15 Feb 2002 01:54:49 +0000 Subject: [PATCH] Made anyType be the base of array. This is not part of the default build. --- extensions/webservices/schema/src/nsSOAPTypes.cpp | 2 +- extensions/xmlextras/schema/src/nsSOAPTypes.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/webservices/schema/src/nsSOAPTypes.cpp b/extensions/webservices/schema/src/nsSOAPTypes.cpp index fac2f3476856..7590da1ebb77 100644 --- a/extensions/webservices/schema/src/nsSOAPTypes.cpp +++ b/extensions/webservices/schema/src/nsSOAPTypes.cpp @@ -100,7 +100,7 @@ NS_IMETHODIMP nsSOAPArray::GetBaseType(nsISchemaType * *aBaseType) { NS_ENSURE_ARG_POINTER(aBaseType); - *aBaseType = nsnull; + NS_ADDREF(*aBaseType = mAnyType); return NS_OK; } diff --git a/extensions/xmlextras/schema/src/nsSOAPTypes.cpp b/extensions/xmlextras/schema/src/nsSOAPTypes.cpp index fac2f3476856..7590da1ebb77 100644 --- a/extensions/xmlextras/schema/src/nsSOAPTypes.cpp +++ b/extensions/xmlextras/schema/src/nsSOAPTypes.cpp @@ -100,7 +100,7 @@ NS_IMETHODIMP nsSOAPArray::GetBaseType(nsISchemaType * *aBaseType) { NS_ENSURE_ARG_POINTER(aBaseType); - *aBaseType = nsnull; + NS_ADDREF(*aBaseType = mAnyType); return NS_OK; }