mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00
fixing bad const in interface (not caught by mac compiler)
This commit is contained in:
parent
6a6af11448
commit
c21e8c7d35
@ -4210,7 +4210,7 @@ nsHTMLEditRules::DoTextNodeWhitespace(nsIDOMCharacterData *aTextNode, PRInt32 aS
|
||||
|
||||
|
||||
nsresult
|
||||
nsHTMLEditRules::ConvertWhitespace(const nsString & inString, const nsString & outString)
|
||||
nsHTMLEditRules::ConvertWhitespace(const nsString & inString, nsString & outString)
|
||||
{
|
||||
PRUint32 j,len = inString.Length();
|
||||
switch (len)
|
||||
|
@ -168,7 +168,7 @@ protected:
|
||||
nsresult DoTextNodeWhitespace(nsIDOMCharacterData *aTextNode, PRInt32 aStart, PRInt32 aEnd);
|
||||
nsresult UpdateDocChangeRange(nsIDOMRange *aRange);
|
||||
|
||||
nsresult ConvertWhitespace(const nsString & inString, const nsString & outString);
|
||||
nsresult ConvertWhitespace(const nsString & inString, nsString & outString);
|
||||
|
||||
// removed from use:
|
||||
#if 0
|
||||
|
@ -4210,7 +4210,7 @@ nsHTMLEditRules::DoTextNodeWhitespace(nsIDOMCharacterData *aTextNode, PRInt32 aS
|
||||
|
||||
|
||||
nsresult
|
||||
nsHTMLEditRules::ConvertWhitespace(const nsString & inString, const nsString & outString)
|
||||
nsHTMLEditRules::ConvertWhitespace(const nsString & inString, nsString & outString)
|
||||
{
|
||||
PRUint32 j,len = inString.Length();
|
||||
switch (len)
|
||||
|
@ -168,7 +168,7 @@ protected:
|
||||
nsresult DoTextNodeWhitespace(nsIDOMCharacterData *aTextNode, PRInt32 aStart, PRInt32 aEnd);
|
||||
nsresult UpdateDocChangeRange(nsIDOMRange *aRange);
|
||||
|
||||
nsresult ConvertWhitespace(const nsString & inString, const nsString & outString);
|
||||
nsresult ConvertWhitespace(const nsString & inString, nsString & outString);
|
||||
|
||||
// removed from use:
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user