Return an empty command enumerator instead of throwing an assertion.
git-svn-id: svn://10.0.0.236/trunk@36999 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1369,8 +1369,7 @@ NS_IMETHODIMP
|
||||
InMemoryDataSource::GetAllCmds(nsIRDFResource* source,
|
||||
nsISimpleEnumerator/*<nsIRDFResource>*/** commands)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("write me!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return(NS_NewEmptyEnumerator(commands));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
@@ -738,8 +738,7 @@ NS_IMETHODIMP
|
||||
FileSystemDataSource::GetAllCmds(nsIRDFResource* source,
|
||||
nsISimpleEnumerator/*<nsIRDFResource>*/** commands)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("write me!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return(NS_NewEmptyEnumerator(commands));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -854,8 +854,7 @@ FindDataSource::GetAllCommands(nsIRDFResource* source,nsIEnumerator/*<nsIRDFReso
|
||||
NS_IMETHODIMP
|
||||
FindDataSource::GetAllCmds(nsIRDFResource* source, nsISimpleEnumerator/*<nsIRDFResource>*/** commands)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("write me!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return(NS_NewEmptyEnumerator(commands));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -316,9 +316,7 @@ NS_IMETHODIMP
|
||||
LocalStoreImpl::GetAllCmds(nsIRDFResource* aSource,
|
||||
nsISimpleEnumerator/*<nsIRDFResource>*/** aCommands)
|
||||
{
|
||||
// XXX Although this is the wrong thing to do, it works. I'll file a
|
||||
// bug to fix it.
|
||||
return NS_ERROR_FAILURE;
|
||||
return(NS_NewEmptyEnumerator(aCommands));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
@@ -672,8 +672,7 @@ NS_IMETHODIMP
|
||||
SearchDataSource::GetAllCmds(nsIRDFResource* source,
|
||||
nsISimpleEnumerator/*<nsIRDFResource>*/** commands)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("write me!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return(NS_NewEmptyEnumerator(commands));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1216,8 +1216,7 @@ NS_IMETHODIMP
|
||||
nsBookmarksService::GetAllCmds(nsIRDFResource* source,
|
||||
nsISimpleEnumerator/*<nsIRDFResource>*/** commands)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("write me!");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
return(NS_NewEmptyEnumerator(commands));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user