making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1863,7 +1863,7 @@ nsComboboxControlFrame::SelectionChanged()
|
||||
}
|
||||
if (shouldSetValue) {
|
||||
if (mTextStr.Length() == 0) {
|
||||
nsAutoString space(" ");
|
||||
nsAutoString space; space.AssignWithConversion(" ");
|
||||
rv = mDisplayContent->SetText(space.GetUnicode(), space.Length(), PR_TRUE);
|
||||
} else {
|
||||
rv = mDisplayContent->SetText(mTextStr.GetUnicode(), mTextStr.Length(), PR_TRUE);
|
||||
|
||||
Reference in New Issue
Block a user