bug=31123

a=edburns
r=bruce

Folks, don't EVER use NULL in your c++ code.  Use nsnull instead.


git-svn-id: svn://10.0.0.236/trunk@62456 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-03-09 05:12:42 +00:00
parent d74ca3ff36
commit 508cc90c1c
15 changed files with 442 additions and 442 deletions

View File

@@ -148,10 +148,10 @@ Java_org_mozilla_webclient_wrapper_1native_RDFTreeNode_nativeToString
(nsIRDFResource *) nativeRDFNode;
nsCOMPtr<nsIRDFNode> node;
nsCOMPtr<nsIRDFLiteral> literal;
jstring result = NULL;
jstring result = nsnull;
PRBool isContainer = PR_FALSE;
nsresult rv;
const PRUnichar *textForNode = NULL;
const PRUnichar *textForNode = nsnull;
rv = gRDFCU->IsContainer(gBookmarksDataSource, currentResource,
&isContainer);
@@ -211,10 +211,10 @@ Java_org_mozilla_webclient_wrapper_1native_RDFTreeNode_nativeToString
}
}
if (NULL != textForNode) {
if (nsnull != textForNode) {
nsString * string = new nsString(textForNode);
int length = 0;
if (NULL != string) {
if (nsnull != string) {
length = string->Length();
}