129
edits
m (→Strings: insensative) |
m (→Strings: end the sentence:)) |
||
(One intermediate revision by one other user not shown) | |||
Line 33: | Line 33: | ||
<span class="highlightblue">+ StringBeginsWith(someString, NS_LITERAL_CSTRING("imap://");</span> | <span class="highlightblue">+ StringBeginsWith(someString, NS_LITERAL_CSTRING("imap://");</span> | ||
The following applies to both nsXPIDLString and nsXPIDLCString. This class is going away when we use frozen linkage so we want to replace it with If you are changing an interface such that somemethod now takes a nsAString / nsACString then you don't need the getter_Copies either: | The following applies to both nsXPIDLString and nsXPIDLCString. This class is going away when we use frozen linkage so we want to replace it with nsString and nsCString. If you are changing an interface such that somemethod now takes a nsAString / nsACString then you don't need the getter_Copies either: | ||
<span class="highlightred">- nsXPIDLString strValue; | <span class="highlightred">- nsXPIDLString strValue; | ||
Line 43: | Line 43: | ||
nsCString charValue; | nsCString charValue; | ||
<span class="highlightred">- uniValue.Assign(NS_ConvertASCIItoUTF16(charValue));</span> | <span class="highlightred">- uniValue.Assign(NS_ConvertASCIItoUTF16(charValue));</span> | ||
<span class="highlightblue">+ CopyASCIItoUTF16( | <span class="highlightblue">+ CopyASCIItoUTF16(charValue, uniValue);</span> | ||
nsCString charValue; | nsCString charValue; |
edits