Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)

s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com
2001-11-19 06:45:00 +00:00
parent db727b7b40
commit 7b921259da
84 changed files with 183 additions and 183 deletions

View File

@@ -1570,7 +1570,7 @@ PresShell::Init(nsIDocument* aDocument,
nsresult result = nsComponentManager::CreateInstance(kFrameSelectionCID, nsnull,
NS_GET_IID(nsIFrameSelection),
getter_AddRefs(mSelection));
if (!NS_SUCCEEDED(result))
if (NS_FAILED(result))
return result;
// Create and initialize the frame manager
@@ -1584,7 +1584,7 @@ PresShell::Init(nsIDocument* aDocument,
}
result = mSelection->Init((nsIFocusTracker *) this, nsnull);
if (!NS_SUCCEEDED(result))
if (NS_FAILED(result))
return result;
// Important: this has to happen after the selection has been set up
#ifdef SHOW_CARET