SVN commit 455585 by kainhofe: SVN_SILENT: Fix debug output text M +17 -17 incidencechanger.cpp --- branches/KDE/3.5/kdepim/korganizer/incidencechanger.cpp #455584:455585 @@ -76,7 +76,7 @@ bool IncidenceChanger::endChange( Incidence *incidence ) { - // FIXME: if that's a groupware incidence, and I'm not the organizer, + // FIXME: if that's a groupware incidence, and I'm not the organizer, // send out a mail to the organizer with a counterproposal instead // of actually changing the incidence. Then no locking is needed. // FIXME: if that's a groupware incidence, and the incidence was @@ -119,13 +119,13 @@ { public: ComparisonVisitor() {} - bool act( IncidenceBase *incidence, IncidenceBase *inc2 ) - { + bool act( IncidenceBase *incidence, IncidenceBase *inc2 ) + { mIncidence2 = inc2; - if ( incidence ) - return incidence->accept( *this ); - else - return (inc2 == 0); + if ( incidence ) + return incidence->accept( *this ); + else + return (inc2 == 0); } protected: bool visit( Event *event ) @@ -177,12 +177,12 @@ { public: AssignmentVisitor() {} - bool act( IncidenceBase *incidence, IncidenceBase *inc2 ) - { + bool act( IncidenceBase *incidence, IncidenceBase *inc2 ) + { mIncidence2 = inc2; - if ( incidence ) - return incidence->accept( *this ); - else + if ( incidence ) + return incidence->accept( *this ); + else return false; } protected: @@ -253,10 +253,10 @@ return false; } -bool IncidenceChanger::changeIncidence( Incidence *oldinc, Incidence *newinc, +bool IncidenceChanger::changeIncidence( Incidence *oldinc, Incidence *newinc, int action ) { -kdDebug(5850)<<"IncidenceChanger::changeChange for incidence \""<summary()<<"\" ( old one was \""<summary()<<"\")"<summary()<<"\" ( old one was \""<summary()<<"\")"<revision(); newinc->setRevision( revision + 1 ); - // FIXME: Use a generic method for this! Ideally, have an interface class - // for group cheduling. Each implementation could then just do what - // it wants with the event. If no groupware is used,use the null + // FIXME: Use a generic method for this! Ideally, have an interface class + // for group cheduling. Each implementation could then just do what + // it wants with the event. If no groupware is used,use the null // pattern... if( !KOPrefs::instance()->mUseGroupwareCommunication || KOGroupware::instance()->sendICalMessage( 0,