More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick

<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176154 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-07-15 21:41:47 +00:00
parent 816157281e
commit 6b2d4870c3
6 changed files with 8 additions and 8 deletions

View File

@@ -292,7 +292,7 @@ nsHTMLEditor::InsertHTMLWithContext(const nsAString & aInputString,
// pasting just the cell text which is what we want anyway.
// A paste from an excel cell always starts with a new line, two spaces and then the td tag
if (StringBeginsWith(aInputString, NS_LITERAL_STRING("\n <td")))
contextStr = NS_LITERAL_STRING("");
contextStr.Truncate();
#endif
res = CreateDOMFragmentFromPaste(aInputString, contextStr, aInfoStr,