fixed silly string usage error

git-svn-id: svn://10.0.0.236/trunk@64760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-31 10:45:55 +00:00
parent 254184e2ba
commit 2e3ff29319
2 changed files with 2 additions and 2 deletions

View File

@@ -2315,7 +2315,7 @@ nsCSSFrameConstructor::TableProcessChild(nsIPresShell* aPresShell,
if ((NS_OK == rv2) && (nsnull != domData)) {
nsString charData;
domData->GetData(charData);
charData = charData.StripWhitespace();
charData.StripWhitespace();
if ((charData.Length() <= 0) && (!charData.Equals(" "))) { // XXX check this
needCell = PR_FALSE; // only contains whitespace, don't create cell
}