mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Changed all occurences of !NS_SUCCEEDED() to NS_FAILED().
This commit is contained in:
parent
5797e5b2a3
commit
0de03a45e7
@ -96,7 +96,7 @@ nsTransactionStack::Clear(void)
|
||||
|
||||
result = Pop(&tx);
|
||||
|
||||
if (! NS_SUCCEEDED(result))
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
while (tx) {
|
||||
@ -104,7 +104,7 @@ nsTransactionStack::Clear(void)
|
||||
|
||||
result = Pop(&tx);
|
||||
|
||||
if (! NS_SUCCEEDED(result))
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -157,7 +157,7 @@ nsTransactionRedoStack::Clear(void)
|
||||
|
||||
result = PopBottom(&tx);
|
||||
|
||||
if (! NS_SUCCEEDED(result))
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
|
||||
while (tx) {
|
||||
@ -165,7 +165,7 @@ nsTransactionRedoStack::Clear(void)
|
||||
|
||||
result = PopBottom(&tx);
|
||||
|
||||
if (! NS_SUCCEEDED(result))
|
||||
if (NS_FAILED(result))
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user