author | eilers <eilers> | 2002-11-13 15:02:46 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-11-13 15:02:46 (UTC) |
commit | 2bc05c54b2ff1a9b2af7d6bd4d55428cfe0d8db3 (patch) (side-by-side diff) | |
tree | 8fdc9e49e0a85927fee9497b9d8c5e34e96b049e /libopie2 | |
parent | 2255284b2e80bdc2881ab9106e9afa614a08c140 (diff) | |
download | opie-2bc05c54b2ff1a9b2af7d6bd4d55428cfe0d8db3.zip opie-2bc05c54b2ff1a9b2af7d6bd4d55428cfe0d8db3.tar.gz opie-2bc05c54b2ff1a9b2af7d6bd4d55428cfe0d8db3.tar.bz2 |
Small Bug in sorted fixed
-rw-r--r-- | libopie2/opiepim/backend/ocontactaccessbackend_xml.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h index 8b95102..adc8dc3 100644 --- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.h +++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.h @@ -19,2 +19,5 @@ * $Log$ + * Revision 1.7 2002/11/13 15:02:46 eilers + * Small Bug in sorted fixed + * * Revision 1.6 2002/11/13 14:14:51 eilers @@ -314,3 +317,3 @@ class OContactAccessBackend_XML : public OContactAccessBackend { - // First fill map and StringList with all Names ( better LastNames ? ) + // First fill map and StringList with all Names // Afterwards sort namelist and use map to fill array to return.. @@ -318,4 +321,4 @@ class OContactAccessBackend_XML : public OContactAccessBackend { for( it = m_contactList.begin(); it != m_contactList.end(); ++it ){ - names.append( (*it).lastName() ); - nameToUid.insert( (*it).lastName(), (*it).uid() ); + names.append( (*it).fileAs() ); + nameToUid.insert( (*it).fileAs(), (*it).uid() ); } |