diff -r 41a7f70b3818 -r 5266b1f337bd phoneapp/phoneuiutils/src/cphonepubsubproxy.cpp --- a/phoneapp/phoneuiutils/src/cphonepubsubproxy.cpp Tue Aug 31 15:14:29 2010 +0300 +++ b/phoneapp/phoneuiutils/src/cphonepubsubproxy.cpp Wed Sep 01 12:30:10 2010 +0100 @@ -53,9 +53,9 @@ { TRAPD( err, instance = CPhonePubSubProxy::NewL() ); if ( err ) - { - Panic( EPhoneUtilsCouldNotCreateSingleton ); - } + { + Panic( EPhoneUtilsCouldNotCreateSingleton ); + } } return instance; } @@ -170,7 +170,7 @@ { __ASSERT_DEBUG( aObserver, Panic( EPhoneUtilsParameterNotInitialized ) ); __LOGMETHODSTARTEND(EPhoneUIUtils, "CPhonePubSubProxy::NotifyChangeL() "); - + // make sure this a new item in iObserverArray TBool requestIssued = EFalse; TBool sameRequestIssuedByObserver = EFalse; @@ -291,7 +291,7 @@ { TInt count = iObserverArray->Count(); - // Remove the observer + // Remove the observer and its subscriptions TBool observerRemoved = EFalse; for( TInt i = count - 1; i >= 0 && !observerRemoved; i-- ) {