Bug 1679525 - Enable auto-complete for Outlook address books by using default method for UseForAutocomplete(). r=darktrojan
This commit is contained in:
Родитель
4e1479e135
Коммит
1d46d9efd8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче