mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Spelling fix.
This commit is contained in:
parent
030eab6a54
commit
651f462b43
@ -2626,7 +2626,7 @@ nsHTMLDocument::GetSelection(nsString& aReturn)
|
||||
(do_GetService("mozilla.consoleservice.1"));
|
||||
|
||||
if (consoleService) {
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUCS2("Depricated method document.getSelection() called, use window.getSelection() in stead!").GetUnicode());
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUCS2("Deprecated method document.getSelection() called. Please use window.getSelection() instead.").GetUnicode());
|
||||
}
|
||||
|
||||
return domSelection->ToString(NS_ConvertASCIItoUCS2("text/plain"), nsIDocumentEncoder::OutputFormatted |nsIDocumentEncoder::OutputSelectionOnly, 0, aReturn);
|
||||
|
@ -2626,7 +2626,7 @@ nsHTMLDocument::GetSelection(nsString& aReturn)
|
||||
(do_GetService("mozilla.consoleservice.1"));
|
||||
|
||||
if (consoleService) {
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUCS2("Depricated method document.getSelection() called, use window.getSelection() in stead!").GetUnicode());
|
||||
consoleService->LogStringMessage(NS_ConvertASCIItoUCS2("Deprecated method document.getSelection() called. Please use window.getSelection() instead.").GetUnicode());
|
||||
}
|
||||
|
||||
return domSelection->ToString(NS_ConvertASCIItoUCS2("text/plain"), nsIDocumentEncoder::OutputFormatted |nsIDocumentEncoder::OutputSelectionOnly, 0, aReturn);
|
||||
|
Loading…
Reference in New Issue
Block a user