damn, missed a file. How does that happen in a top-down commit?

This commit is contained in:
dveditz%netscape.com 2000-02-15 03:01:55 +00:00
Родитель e454fa6cf6
Коммит ab49c7f3e8
1 изменённых файлов: 2 добавлений и 6 удалений

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

@ -133,10 +133,6 @@ nsRegistryDataSource::nsRegistryDataSource()
nsRegistryDataSource::~nsRegistryDataSource()
{
if (mRegistry) {
mRegistry->Close();
}
if (--gRefCnt == 0) {
if (gRDF) nsServiceManager::ReleaseService(kRDFServiceCID, gRDF);
@ -309,7 +305,7 @@ nsRegistryDataSource::OpenDefaultRegistry()
getter_AddRefs(mRegistry));
if (NS_FAILED(rv)) return rv;
rv = mRegistry->OpenDefault();
rv = mRegistry->OpenWellKnownRegistry(nsIRegistry::ApplicationRegistry);
if (NS_FAILED(rv)) return rv;
return NS_OK;
@ -391,7 +387,7 @@ nsRegistryDataSource::GetTarget(nsIRDFResource *aSource, nsIRDFResource *aProper
switch (type) {
case nsIRegistry::String: {
nsXPIDLCString value;
rv = mRegistry->GetString(key, path, getter_Copies(value));
rv = mRegistry->GetStringUTF8(key, path, getter_Copies(value));
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIRDFLiteral> literal;