missed more nsIRegistry::Key usages

This commit is contained in:
shaver%netscape.com 1999-09-29 03:26:24 +00:00
Родитель 49007a1d94
Коммит 0a8227549b
4 изменённых файлов: 4 добавлений и 4 удалений

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

@ -301,7 +301,7 @@ void
nsAppShellService::EnumerateComponents( EnumeratorMemberFunction function ) {
nsresult rv;
nsIRegistry *registry = 0;
nsIRegistry::Key key;
nsRegistryKey key;
nsIEnumerator *components = 0;
const char *failed = "GetService";
if ( NS_SUCCEEDED( ( rv = nsServiceManager::GetService( NS_REGISTRY_PROGID,

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

@ -322,7 +322,7 @@ NSRegisterSelf( nsISupports* aServiceMgr, const char* path ) { \
NS_IAPPSHELLCOMPONENT_KEY, \
cidString ? cidString : "unknown" ); \
delete [] cidString; \
nsIRegistry::Key key; \
nsRegistryKey key; \
rv = registry->AddSubtree( nsIRegistry::Common, \
buffer, \
&key ); \

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

@ -241,7 +241,7 @@ nsRegistryDataSource::GetKey(nsIRDFResource* aResource)
if (PL_strncmp(uri, kKeyPrefix, sizeof(kKeyPrefix) - 1) != 0)
return -1;
nsIRegistry::Key key;
nsRegistryKey key;
const char* path = uri + sizeof(kKeyPrefix); // one extra to skip initial '/'
rv = mRegistry->GetSubtree(nsIRegistry::Common, path, &key);
if (NS_FAILED(rv)) return -1;

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

@ -580,7 +580,7 @@ NSRegisterSelf(nsISupports* aServMgr, const char *path)
cid ? cid : "unknown" );
nsCRT::free(cid);
nsIRegistry::Key key;
nsRegistryKey key;
rv = registry->AddSubtree( nsIRegistry::Common,
buffer,
&key );