зеркало из https://github.com/mozilla/gecko-dev.git
Supplementary patch to address sr=sspitzer comment for bug 207634
This commit is contained in:
Родитель
2ac5385322
Коммит
6b975fa7aa
|
@ -3013,8 +3013,7 @@ nsMsgDatabase::CreateCollationKey(const PRUnichar *sourceString, PRUint8 **resul
|
|||
NS_ENSURE_SUCCESS(err,err);
|
||||
if (!m_collationKeyGenerator) return NS_ERROR_FAILURE;
|
||||
|
||||
nsAutoString sourceStr(sourceString);
|
||||
err = m_collationKeyGenerator->AllocateRawSortKey(kCollationCaseInSensitive, sourceStr, result, len);
|
||||
err = m_collationKeyGenerator->AllocateRawSortKey(kCollationCaseInSensitive, nsDependentString(sourceString), result, len);
|
||||
NS_ENSURE_SUCCESS(err,err);
|
||||
return err;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче