More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr

<vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-09-12 01:28:51 +00:00
parent c062e88c33
commit ebc997bcf6
16 changed files with 37 additions and 51 deletions

View File

@@ -1565,8 +1565,7 @@ nsBrowserWindow::CreateToolBar(PRInt32 aWidth)
widget->SetForegroundColor(NS_RGB(0, 0, 0));
widget->SetBackgroundColor(NS_RGB(255, 255, 255));
PRUint32 size;
nsAutoString empty;
mLocation->SetText(empty, size);
mLocation->SetText(EmptyString(), size);
mLocation->SetMaxTextLength(MAX_TEXT_LENGTH);
NS_RELEASE(widget);
}