author | zecke <zecke> | 2004-09-12 23:48:59 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-12 23:48:59 (UTC) |
commit | df292cd5dbd8f3c11efa06db1a2ed565a6efa9b8 (patch) (side-by-side diff) | |
tree | 749fce3927b9dad57bb4e836771860a8607963ba /libopie2 | |
parent | 03d8f31d45fa569d944ff635428ad9a946f077b9 (diff) | |
download | opie-df292cd5dbd8f3c11efa06db1a2ed565a6efa9b8.zip opie-df292cd5dbd8f3c11efa06db1a2ed565a6efa9b8.tar.gz opie-df292cd5dbd8f3c11efa06db1a2ed565a6efa9b8.tar.bz2 |
-Sorry for the whitespaces
-Delete endDate which is used by queryByExample
Eilers can you look if a QDate::isValid makes more sense?
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_sql.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_sql.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_sql.cpp index 221e977..3d284f7 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_sql.cpp +++ b/libopie2/opiepim/backend/ocontactaccessbackend_sql.cpp @@ -307,3 +307,3 @@ namespace { } - + QString FindQuery::multi()const { @@ -322,3 +322,3 @@ namespace { qu += " from addressbook where uid = " + QString::number(m_uid); - + // owarn << "find query: " << qu << "" << oendl; @@ -494,6 +494,6 @@ OPimContact OPimContactAccessBackend_SQL::find( int uid, const QArray<int>& quer t.start(); - + uint numReadAhead = readAhead(); QArray<int> searchList( numReadAhead ); - + uint size =0; @@ -626,2 +626,4 @@ QArray<int> OPimContactAccessBackend_SQL::queryByExample ( const OPimContact &qu } + + delete endDate; } @@ -827,3 +829,3 @@ QMap<int, QString> OPimContactAccessBackend_SQL::requestNonCustom( int uid ) co t3needed = t3.elapsed(); - + @@ -836,3 +838,3 @@ QMap<int, QString> OPimContactAccessBackend_SQL::requestNonCustom( int uid ) co -/* Returns contact requested by uid and fills cache with contacts requested by uids in the cachelist */ +/* Returns contact requested by uid and fills cache with contacts requested by uids in the cachelist */ OPimContact OPimContactAccessBackend_SQL::requestContactsAndCache( int uid, const QArray<int>& uidlist )const @@ -842,3 +844,3 @@ OPimContact OPimContactAccessBackend_SQL::requestContactsAndCache( int uid, cons // All contacts will be stored in the cache, afterwards the contact with the user id "uid" will be returned - // by using the cache.. + // by using the cache.. QArray<int> cachelist = uidlist; @@ -873,3 +875,3 @@ OPimContact OPimContactAccessBackend_SQL::requestContactsAndCache( int uid, cons t3needed = t3.elapsed(); - + @@ -878,3 +880,3 @@ OPimContact OPimContactAccessBackend_SQL::requestContactsAndCache( int uid, cons << " ms, mapping: " << t3needed << " ms" << oendl; - + return retContact; |