summaryrefslogtreecommitdiffstats
path: root/kresources/carddav/writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/carddav/writer.cpp')
-rw-r--r--kresources/carddav/writer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kresources/carddav/writer.cpp b/kresources/carddav/writer.cpp
index 837fca663..aed9ddb66 100644
--- a/kresources/carddav/writer.cpp
+++ b/kresources/carddav/writer.cpp
@@ -59,7 +59,7 @@ int CardDavWriter::runJob(runtime_info* RT) {
if (OK == res) {
kdDebug() << "pushing deleted objects";
while (mDeleted.tqcontains("BEGIN:VCARD", TRUE) > 0) {
- int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
+ int endLocation = mDeleted.tqfind("END:VCARD", 0, TRUE);
TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
mDeleted = mDeleted.remove(0, endLocation+9);
if (getUseURI() == false)
@@ -83,7 +83,7 @@ int CardDavWriter::runJob(runtime_info* RT) {
if (OK == res) {
kdDebug() << "pushing deleted objects";
while (mDeleted.tqcontains("BEGIN:VCARD", TRUE) > 0) {
- int endLocation = mDeleted.find("END:VCARD", 0, TRUE);
+ int endLocation = mDeleted.tqfind("END:VCARD", 0, TRUE);
TQString deletedCurSeq = mDeleted.mid(0, endLocation+9);
mDeleted = mDeleted.remove(0, endLocation+9);
if (getUseURI() == false)