From 9e6ec3a244220285be43514d4c2465e2267f7126 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 23 Feb 2012 11:51:17 -0600 Subject: Terminate kdDebug calls with newlines This closes Bug 631 --- kresources/caldav/writer.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kresources/caldav/writer.cpp') diff --git a/kresources/caldav/writer.cpp b/kresources/caldav/writer.cpp index a466322eb..d9a6b2f0e 100644 --- a/kresources/caldav/writer.cpp +++ b/kresources/caldav/writer.cpp @@ -50,24 +50,24 @@ int CalDavWriter::runJob(runtime_info* RT) { int res = OK; if ((OK == res) && (url() != "")) { - kdDebug() << "pushing added objects"; + kdDebug() << "pushing added objects" << '\n'; res = pushObjects(mAdded, caldav_add_object, OK, RT); if (OK == res) { #ifdef USE_CALDAV_MODIFY - kdDebug() << "pushing changed objects"; + kdDebug() << "pushing changed objects" << '\n'; res = pushObjects(mChanged, caldav_modify_object, OK, RT); if (OK == res) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; res = pushObjects(mDeleted, caldav_delete_object, OK, RT); } #else // if USE_CALDAV_MODIFY - kdDebug() << "pushing changed objects (delete)"; + kdDebug() << "pushing changed objects (delete)" << '\n'; res = pushObjects(mChanged, caldav_delete_object, OK, RT); if (OK == res) { - kdDebug() << "pushing changed objects (add)"; + kdDebug() << "pushing changed objects (add)" << '\n'; res = pushObjects(mChanged, caldav_add_object, OK, RT); if (OK == res) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; res = pushObjects(mDeleted, caldav_delete_object, OK, RT); } } @@ -78,24 +78,24 @@ int CalDavWriter::runJob(runtime_info* RT) { int tasksres = OK; if ((OK == tasksres) && (tasksUrl() != "")) { - kdDebug() << "pushing added tasks objects"; + kdDebug() << "pushing added tasks objects" << '\n'; tasksres = pushTasksObjects(mTasksAdded, caldav_add_object, OK, RT); if (OK == tasksres) { #ifdef USE_CALDAV_TASKS_MODIFY - kdDebug() << "pushing changed objects"; + kdDebug() << "pushing changed objects" << '\n'; tasksres = pushTasksObjects(mTasksChanged, caldav_tasks_modify_object, OK, RT); if (OK == tasksres) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; tasksres = pushTasksObjects(mTasksDeleted, caldav_tasks_delete_object, OK, RT); } #else // if USE_CALDAV_TASKS_MODIFY - kdDebug() << "pushing changed objects (delete)"; + kdDebug() << "pushing changed objects (delete)" << '\n'; tasksres = pushTasksObjects(mTasksChanged, caldav_tasks_delete_object, OK, RT); if (OK == tasksres) { - kdDebug() << "pushing changed objects (add)"; + kdDebug() << "pushing changed objects (add)" << '\n'; tasksres = pushTasksObjects(mTasksChanged, caldav_add_object, OK, RT); if (OK == tasksres) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; tasksres = pushTasksObjects(mTasksDeleted, caldav_tasks_delete_object, OK, RT); } } @@ -106,24 +106,24 @@ int CalDavWriter::runJob(runtime_info* RT) { int journalsres = OK; if ((OK == journalsres) && (tasksUrl() != "")) { - kdDebug() << "pushing added tasks objects"; + kdDebug() << "pushing added tasks objects" << '\n'; journalsres = pushJournalsObjects(mJournalsAdded, caldav_add_object, OK, RT); if (OK == journalsres) { #ifdef USE_CALDAV_TASKS_MODIFY - kdDebug() << "pushing changed objects"; + kdDebug() << "pushing changed objects" << '\n'; journalsres = pushJournalsObjects(mJournalsChanged, caldav_tasks_modify_object, OK, RT); if (OK == journalsres) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; journalsres = pushJournalsObjects(mJournalsDeleted, caldav_tasks_delete_object, OK, RT); } #else // if USE_CALDAV_TASKS_MODIFY - kdDebug() << "pushing changed objects (delete)"; + kdDebug() << "pushing changed objects (delete)" << '\n'; journalsres = pushJournalsObjects(mJournalsChanged, caldav_tasks_delete_object, OK, RT); if (OK == journalsres) { - kdDebug() << "pushing changed objects (add)"; + kdDebug() << "pushing changed objects (add)" << '\n'; journalsres = pushJournalsObjects(mJournalsChanged, caldav_add_object, OK, RT); if (OK == journalsres) { - kdDebug() << "pushing deleted objects"; + kdDebug() << "pushing deleted objects" << '\n'; journalsres = pushJournalsObjects(mJournalsDeleted, caldav_tasks_delete_object, OK, RT); } } -- cgit v1.2.1