Bug 1679525 - Enable auto-complete for Outlook address books by using default method for UseForAutocomplete(). r=darktrojan

This commit is contained in:
it@henk.com.au 2020-12-15 12:17:45 +02:00
Родитель 4e1479e135
Коммит 1d46d9efd8
2 изменённых файлов: 0 добавлений и 9 удалений

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

@ -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');

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

@ -35,8 +35,6 @@ class nsAbOutlookDirectory : public nsAbDirProperty, // nsIAbDirectory
bool* aHasDirectory) override;
NS_IMETHOD DeleteCards(const nsTArray<RefPtr<nsIAbCard>>& 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;