replacing another Length() call with IsEmpty()
git-svn-id: svn://10.0.0.236/branches/MICROB_20061206_BRANCH@217656 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -308,7 +308,7 @@ EmbedContextMenuInfo::GetSelectedText()
|
||||
if (NS_FAILED(rv) || !htmlDoc)
|
||||
return nsnull;
|
||||
rv = htmlDoc->GetSelection(cString);
|
||||
if (NS_FAILED(rv) || cString.Length() <= 0)
|
||||
if (NS_FAILED(rv) || cString.IsEmpty())
|
||||
return nsnull;
|
||||
rv = NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user