Bug 1606284 - Follow-up: Fix type of InitCardFromRow(). r=me DONTBUILD
authorJorg K <jorgk@jorgk.com>
Tue, 31 Dec 2019 15:12:10 +0100
changeset 37845 b46422dd28c44838fd36a6c0775ba1cafcde99d3
parent 37844 4ac150bcbb59400b3655dbaef3f2394614a25445
child 37846 738c9587a2f0a5d65289ca73937b8241b6177534
push id397
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:16:13 +0000
reviewersme
bugs1606284
Bug 1606284 - Follow-up: Fix type of InitCardFromRow(). r=me DONTBUILD
mailnews/addrbook/src/nsAddrDatabase.cpp
--- a/mailnews/addrbook/src/nsAddrDatabase.cpp
+++ b/mailnews/addrbook/src/nsAddrDatabase.cpp
@@ -755,18 +755,18 @@ nsresult nsAddrDatabase::GetIntColumn(ns
       YarnToUInt32(&yarn, pValue);
       cardCell->Release();
     } else
       err = NS_ERROR_FAILURE;
   }
   return err;
 }
 
-NS_IMETHODIMP nsAddrDatabase::InitCardFromRow(nsIAbCard *newCard,
-                                              nsIMdbRow *cardRow) {
+nsresult nsAddrDatabase::InitCardFromRow(nsIAbCard *newCard,
+                                         nsIMdbRow *cardRow) {
   nsresult rv = NS_OK;
   if (!newCard || !cardRow || !m_mdbEnv) return NS_ERROR_NULL_POINTER;
 
   nsCOMPtr<nsIMdbRowCellCursor> cursor;
   nsCOMPtr<nsIMdbCell> cell;
 
   rv = cardRow->GetRowCellCursor(m_mdbEnv, -1, getter_AddRefs(cursor));
   NS_ENSURE_SUCCESS(rv, rv);