зеркало из https://github.com/mozilla/gecko-dev.git
Method name change.
This commit is contained in:
Родитель
65327d1dd8
Коммит
7754532498
|
@ -3802,7 +3802,7 @@ nsImapProtocol::CreateUtf7ConvertedString(const char * aSourceString,
|
|||
if(NS_SUCCEEDED(res) && (nsnull != decoder))
|
||||
{
|
||||
PRInt32 srcLen = PL_strlen(aSourceString);
|
||||
res = decoder->Length(aSourceString, 0, srcLen, &unicharLength);
|
||||
res = decoder->GetMaxLength(aSourceString, srcLen, &unicharLength);
|
||||
// temporary buffer to hold unicode string
|
||||
unichars = new PRUnichar[unicharLength + 1];
|
||||
if (unichars == nsnull)
|
||||
|
@ -3877,7 +3877,7 @@ PRUnichar * nsImapProtocol::CreatePRUnicharStringFromUTF7(const char * aSourceSt
|
|||
if(NS_SUCCEEDED(res) && (nsnull != decoder))
|
||||
{
|
||||
PRInt32 srcLen = PL_strlen(aSourceString);
|
||||
res = decoder->Length(aSourceString, 0, srcLen, &unicharLength);
|
||||
res = decoder->GetMaxLength(aSourceString, srcLen, &unicharLength);
|
||||
// temporary buffer to hold unicode string
|
||||
unichars = new PRUnichar[unicharLength + 1];
|
||||
if (unichars == nsnull)
|
||||
|
|
Загрузка…
Ссылка в новой задаче