Whitespace cleanup (diff -w shows no changes).

git-svn-id: svn://10.0.0.236/trunk@167040 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org
2004-12-27 03:23:01 +00:00
parent 17c54d26f1
commit d71b7d7b9e
4 changed files with 56 additions and 56 deletions

View File

@@ -223,10 +223,10 @@ nsCEnum(const nsACString& aKey, nsAutoPtr<TestUniChar>& aData, void* userArg) {
class IFoo : public nsISupports
{
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IFOO_IID)
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IFOO_IID)
public:
public:
IFoo();
NS_IMETHOD_(nsrefcnt) AddRef();
@@ -307,27 +307,27 @@ IFoo::Release()
nsresult
IFoo::QueryInterface( const nsIID& aIID, void** aResult )
{
{
printf("IFoo@%p::QueryInterface()\n", NS_STATIC_CAST(void*, this));
nsISupports* rawPtr = 0;
nsresult status = NS_OK;
nsISupports* rawPtr = 0;
nsresult status = NS_OK;
if ( aIID.Equals(GetIID()) )
rawPtr = this;
else
{
nsID iid_of_ISupports = NS_ISUPPORTS_IID;
if ( aIID.Equals(iid_of_ISupports) )
rawPtr = NS_STATIC_CAST(nsISupports*, this);
else
status = NS_ERROR_NO_INTERFACE;
}
if ( aIID.Equals(GetIID()) )
rawPtr = this;
else
{
nsID iid_of_ISupports = NS_ISUPPORTS_IID;
if ( aIID.Equals(iid_of_ISupports) )
rawPtr = NS_STATIC_CAST(nsISupports*, this);
else
status = NS_ERROR_NO_INTERFACE;
}
NS_IF_ADDREF(rawPtr);
*aResult = rawPtr;
NS_IF_ADDREF(rawPtr);
*aResult = rawPtr;
return status;
}
return status;
}
nsresult
IFoo::SetString(const nsACString& aString)