mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 07:07:30 +09:00
parent
3141e9940a
commit
fc672dabc7
1 changed files with 3 additions and 0 deletions
|
|
@ -855,6 +855,9 @@ nsCString getQuery(nsCOMPtr<nsIAbDirectory> aDir)
|
||||||
|
|
||||||
NS_IMETHODIMP nsAbView::OnItemAdded(nsISupports *parentDir, nsISupports *item)
|
NS_IMETHODIMP nsAbView::OnItemAdded(nsISupports *parentDir, nsISupports *item)
|
||||||
{
|
{
|
||||||
|
if (!mDirectory) // No address book selected.
|
||||||
|
return NS_OK;
|
||||||
|
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
nsCOMPtr <nsIAbDirectory> directory = do_QueryInterface(parentDir, &rv);
|
nsCOMPtr <nsIAbDirectory> directory = do_QueryInterface(parentDir, &rv);
|
||||||
NS_ENSURE_SUCCESS(rv,rv);
|
NS_ENSURE_SUCCESS(rv,rv);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue