зеркало из https://github.com/mozilla/pjs.git
Patch from Bruce Mitchener that removes some dead code
This commit is contained in:
Родитель
8766af7590
Коммит
0fd84b719f
|
@ -2645,9 +2645,6 @@ NS_IMETHODIMP nsHTMLDocument::FindNext(const nsString &aSearchStr, PRBool aMatch
|
|||
contentStr.Cut(offset, mSearchStr->Length());
|
||||
contentStr.Insert(replacementStr, offset, replacementStr.Length());
|
||||
|
||||
char * s = contentStr.ToNewCString();
|
||||
delete[]s;
|
||||
|
||||
nsIDOMNode * parent;
|
||||
node->GetParentNode(&parent);
|
||||
|
||||
|
|
|
@ -2645,9 +2645,6 @@ NS_IMETHODIMP nsHTMLDocument::FindNext(const nsString &aSearchStr, PRBool aMatch
|
|||
contentStr.Cut(offset, mSearchStr->Length());
|
||||
contentStr.Insert(replacementStr, offset, replacementStr.Length());
|
||||
|
||||
char * s = contentStr.ToNewCString();
|
||||
delete[]s;
|
||||
|
||||
nsIDOMNode * parent;
|
||||
node->GetParentNode(&parent);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче