From 6d25ebf971f8f256d61ff6aaf81368a610e1045c Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 9 Nov 1999 23:30:44 +0000 Subject: [PATCH] Removing NS_COMFALSE usage. --- xpcom/ds/nsProperties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/ds/nsProperties.cpp b/xpcom/ds/nsProperties.cpp index 3feaccec813a..f6f13deca80a 100644 --- a/xpcom/ds/nsProperties.cpp +++ b/xpcom/ds/nsProperties.cpp @@ -138,8 +138,8 @@ nsProperties::HasProperty(const char* prop, nsISupports* expectedValue) { nsISupports* value; nsresult rv = GetProperty(prop, &value); - if (NS_FAILED(rv)) return NS_COMFALSE; - rv = (value == expectedValue) ? NS_OK : NS_COMFALSE; + if (NS_FAILED(rv)) return rv; + rv = (value == expectedValue) ? NS_OK : NS_ERROR_FAILURE; NS_IF_RELEASE(value); return rv; }