summaryrefslogtreecommitdiffabout
path: root/kabc/vcard
authorzautrix <zautrix>2004-10-22 02:36:36 (UTC)
committer zautrix <zautrix>2004-10-22 02:36:36 (UTC)
commitd93d3e94f78543c912528ca043a6d78bc82b12b2 (patch) (unidiff)
tree0af6581ee739a3da67c849892585fe5fff751f0d /kabc/vcard
parentc17118a0b2da49ec633e21cdcd51798c0c38644a (diff)
downloadkdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.zip
kdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.tar.gz
kdepimpi-d93d3e94f78543c912528ca043a6d78bc82b12b2.tar.bz2
bugfix
Diffstat (limited to 'kabc/vcard') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/VCardEntity.cpp3
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
146VCardEntity::_assemble() 147VCardEntity::_assemble()
147{ 148{
148 VCardListIterator it(cardList_); 149 VCardListIterator it(cardList_);