bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.

the editor/base remain untouched r=cmanske sr=kin


git-svn-id: svn://10.0.0.236/trunk@105623 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bernd.mielke%snafu.de
2001-10-17 14:33:50 +00:00
parent b0bee04e64
commit 67e3a6751d
5 changed files with 37 additions and 20 deletions

View File

@@ -826,7 +826,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromDrop(nsIDOMEvent* aDropEvent)
PRInt32 rangeCount;
rv = selection->GetRangeCount(&rangeCount);
if (NS_FAILED(rv))
return rv?rv:NS_ERROR_FAILURE;
return rv;
for (PRInt32 j = 0; j < rangeCount; j++)
{