--- a/qtcontactsmobility/plugins/contacts/symbian/src/filtering/cntfilterchangelog.cpp Fri Apr 16 14:53:18 2010 +0300
+++ b/qtcontactsmobility/plugins/contacts/symbian/src/filtering/cntfilterchangelog.cpp Mon May 03 12:24:20 2010 +0300
@@ -60,14 +60,14 @@
const QContactFilter &filter,
const QList<QContactSortOrder> &sortOrders,
bool &filterSupportedflag,
- QContactManager::Error &error)
+ QContactManager::Error* error)
{
Q_UNUSED(sortOrders);
Q_UNUSED(filterSupportedflag);
//Check if any invalid filter is passed
if(!filterSupported(filter))
{
- error = QContactManager::NotSupportedError;
+ *error = QContactManager::NotSupportedError;
return QList<QContactLocalId>();
}
QList<QContactLocalId> idList;
@@ -77,7 +77,7 @@
createSelectQuery( filter,sqlQuery,error);
//fetch the contacts
- if(error != QContactManager::NotSupportedError)
+ if(*error != QContactManager::NotSupportedError)
{
idList = m_srvConnection.searchContacts(sqlQuery, error);
}
@@ -103,13 +103,13 @@
void CntFilterChangeLog::createSelectQuery(const QContactFilter& filter,
QString& sqlQuery,
- QContactManager::Error& error)
+ QContactManager::Error* error)
{
//Check if any invalid filter is passed
if(!filterSupported(filter))
{
- error = QContactManager::NotSupportedError;
+ *error = QContactManager::NotSupportedError;
}
//Not supported yet.
sqlQuery = "";