GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties.

This commit is contained in:
jevering%netscape.com 1999-07-16 19:13:21 +00:00
Родитель 1a53eea89b
Коммит a511c3ae87
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -338,6 +338,9 @@ nsPersistentProperties::Subclass(nsIPersistentProperties* aSubclass)
NS_IMETHODIMP
nsPersistentProperties::GetProperty(const nsString& aKey, nsString& aValue)
{
if (!mTable)
return NS_ERROR_FAILURE;
const PRUnichar *key = aKey.GetUnicode();
if (!mTable) {