author | zautrix <zautrix> | 2004-10-22 02:36:36 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-22 02:36:36 (UTC) |
commit | d93d3e94f78543c912528ca043a6d78bc82b12b2 (patch) (unidiff) | |
tree | 0af6581ee739a3da67c849892585fe5fff751f0d /kabc/vcard | |
parent | c17118a0b2da49ec633e21cdcd51798c0c38644a (diff) | |
download | kdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.zip kdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.tar.gz kdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.tar.bz2 |
bugfix
-rw-r--r-- | kabc/vcard/VCardEntity.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kabc/vcard/VCardEntity.cpp b/kabc/vcard/VCardEntity.cpp index b676cc7..2a9e275 100644 --- a/kabc/vcard/VCardEntity.cpp +++ b/kabc/vcard/VCardEntity.cpp | |||
@@ -121,12 +121,13 @@ VCardEntity::_parse() | |||
121 | if ( i+add < len && strRep_.at(i+add++) == ':') | 121 | if ( i+add < len && strRep_.at(i+add++) == ':') |
122 | if ( i+add < len && strRep_.at(i+add++) == 'V') | 122 | if ( i+add < len && strRep_.at(i+add++) == 'V') |
123 | if ( i+add < len && strRep_.at(i+add++) == 'C') | 123 | if ( i+add < len && strRep_.at(i+add++) == 'C') |
124 | if ( i+add < len && strRep_.at(i+add++) == 'A') | 124 | if ( i+add < len && strRep_.at(i+add++) == 'A') |
125 | if ( i+add < len && strRep_.at(i+add++) == 'R') | 125 | if ( i+add < len && strRep_.at(i+add++) == 'R') |
126 | if ( i+add < len && strRep_.at(i+add++) == 'D') | 126 | if ( i+add < len && strRep_.at(i+add++) == 'D') |
127 | if ( i+add < len && (strRep_.at(i+add) == '\r' || strRep_.at(i+add) == '\n' )) | ||
127 | break; | 128 | break; |
128 | } | 129 | } |
129 | ++i; | 130 | ++i; |
130 | } | 131 | } |
131 | if ( i <= len ) { | 132 | if ( i <= len ) { |
132 | ++num; | 133 | ++num; |
@@ -136,13 +137,13 @@ VCardEntity::_parse() | |||
136 | cardList_.append(v); | 137 | cardList_.append(v); |
137 | v->parse(); | 138 | v->parse(); |
138 | } | 139 | } |
139 | i+= 11; | 140 | i+= 11; |
140 | } | 141 | } |
141 | #endif | 142 | #endif |
142 | //qDebug("***time %d found %d", tim.elapsed(), num); | 143 | qDebug("***time %d found %d", tim.elapsed(), num); |
143 | } | 144 | } |
144 | 145 | ||
145 | void | 146 | void |
146 | VCardEntity::_assemble() | 147 | VCardEntity::_assemble() |
147 | { | 148 | { |
148 | VCardListIterator it(cardList_); | 149 | VCardListIterator it(cardList_); |