From 1d46d9efd88e38083f8dc8f0bf788278bd85005b Mon Sep 17 00:00:00 2001 From: "it@henk.com.au" Date: Tue, 15 Dec 2020 12:17:45 +0200 Subject: [PATCH] Bug 1679525 - Enable auto-complete for Outlook address books by using default method for UseForAutocomplete(). r=darktrojan --- mailnews/addrbook/src/nsAbOutlookDirectory.cpp | 7 ------- mailnews/addrbook/src/nsAbOutlookDirectory.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/mailnews/addrbook/src/nsAbOutlookDirectory.cpp b/mailnews/addrbook/src/nsAbOutlookDirectory.cpp index ef4fb03260..df0f20c245 100644 --- a/mailnews/addrbook/src/nsAbOutlookDirectory.cpp +++ b/mailnews/addrbook/src/nsAbOutlookDirectory.cpp @@ -1276,13 +1276,6 @@ NS_IMETHODIMP nsAbOutlookDirectory::ModifyCard(nsIAbCard* aModifiedCard) { return retCode; } -NS_IMETHODIMP nsAbOutlookDirectory::UseForAutocomplete( - const nsACString& aIdentityKey, bool* aResult) { - NS_ENSURE_ARG_POINTER(aResult); - *aResult = false; - return NS_OK; -} - static void splitString(nsString& aSource, nsString& aTarget) { aTarget.Truncate(); int32_t offset = aSource.FindChar('\n'); diff --git a/mailnews/addrbook/src/nsAbOutlookDirectory.h b/mailnews/addrbook/src/nsAbOutlookDirectory.h index 552a5e69a7..4891f05c65 100644 --- a/mailnews/addrbook/src/nsAbOutlookDirectory.h +++ b/mailnews/addrbook/src/nsAbOutlookDirectory.h @@ -35,8 +35,6 @@ class nsAbOutlookDirectory : public nsAbDirProperty, // nsIAbDirectory bool* aHasDirectory) override; NS_IMETHOD DeleteCards(const nsTArray>& aCards) override; NS_IMETHOD DeleteDirectory(nsIAbDirectory* aDirectory) override; - NS_IMETHOD UseForAutocomplete(const nsACString& aIdentityKey, - bool* aResult) override; NS_IMETHOD AddCard(nsIAbCard* aData, nsIAbCard** addedCard) override; NS_IMETHOD ModifyCard(nsIAbCard* aModifiedCard) override; NS_IMETHOD DropCard(nsIAbCard* aData, bool needToCopyCard) override;