summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx12
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.hxx2
2 files changed, 5 insertions, 9 deletions
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index 517e7b1a7f8e..d838d07e9033 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -442,13 +442,12 @@ public:
m_pContacts = nullptr;
}
- virtual bool executeQuery (EBook* pBook, EBookQuery* pQuery, OString &/*rPassword*/) override
+ virtual void executeQuery (EBook* pBook, EBookQuery* pQuery, OString &/*rPassword*/) override
{
freeContacts();
char *sexp = e_book_query_to_string( pQuery );
- bool bSuccess = e_book_client_get_contacts_sync( pBook, sexp, &m_pContacts, nullptr, nullptr );
+ e_book_client_get_contacts_sync( pBook, sexp, &m_pContacts, nullptr, nullptr );
g_free (sexp);
- return bSuccess;
}
virtual EContact *getContact(sal_Int32 nIndex) override
@@ -568,12 +567,11 @@ public:
m_pContacts = nullptr;
}
- virtual bool executeQuery (EBook* pBook, EBookQuery* pQuery, OString &rPassword) override
+ virtual void executeQuery (EBook* pBook, EBookQuery* pQuery, OString &rPassword) override
{
freeContacts();
ESource *pSource = e_book_get_source( pBook );
- bool bSuccess = false;
bool bAuthSuccess = true;
if( isAuthRequired( pBook ) )
@@ -584,9 +582,7 @@ public:
}
if (bAuthSuccess)
- bSuccess = e_book_get_contacts( pBook, pQuery, &m_pContacts, nullptr );
-
- return bSuccess;
+ e_book_get_contacts( pBook, pQuery, &m_pContacts, nullptr );
}
virtual EContact *getContact(sal_Int32 nIndex) override
diff --git a/connectivity/source/drivers/evoab2/NResultSet.hxx b/connectivity/source/drivers/evoab2/NResultSet.hxx
index 4dc2d6d422ed..f1128a77bd7b 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.hxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.hxx
@@ -53,7 +53,7 @@ namespace connectivity
{
public:
virtual EBook* openBook(const char *abname) = 0;
- virtual bool executeQuery (EBook* pBook, EBookQuery* pQuery, OString &rPassword) = 0;
+ virtual void executeQuery (EBook* pBook, EBookQuery* pQuery, OString &rPassword) = 0;
virtual void freeContacts() = 0;
virtual bool isLDAP( EBook *pBook ) = 0;
virtual bool isLocal( EBook *pBook ) = 0;