serviceproviders/sapi_logging/src/loggingcallback.cpp
branchRCL_3
changeset 44 0b68a1b0c15e
parent 36 c210248fa89d
child 45 a9c0808a1095
--- a/serviceproviders/sapi_logging/src/loggingcallback.cpp	Thu Aug 19 10:46:25 2010 +0300
+++ b/serviceproviders/sapi_logging/src/loggingcallback.cpp	Tue Aug 31 16:06:03 2010 +0300
@@ -427,20 +427,17 @@
     }   
 
 
- void  LoggingInterfaceCB :: CancelNotifyL( TUint aTransid ,TBool aFlag )
+ void  LoggingInterfaceCB :: CancelNotifyL( TUint aTransid )
     {
-    if(aFlag)
-        {
-        CleanupStack :: PushL( this ) ;
-        CLiwGenericParamList *OutParm = CLiwGenericParamList :: NewL() ;
-        CleanupStack :: PushL( OutParm ) ;
-        CLiwGenericParamList *InParm = CLiwGenericParamList :: NewL() ;
-        CleanupStack :: PushL( InParm ) ;
-        OutParm->AppendL( TLiwGenericParam( KErrCode , TLiwVariant( ( TInt32 )SErrNone ) ) ) ;
-        iCallBack->HandleNotifyL( aTransid, KLiwEventCanceled, *OutParm, *InParm ) ;
-        CleanupStack::PopAndDestroy( InParm );
-        CleanupStack::PopAndDestroy( OutParm );
-        CleanupStack :: Pop( this ) ;
-        }  
+    CleanupStack :: PushL( this ) ;
+    CLiwGenericParamList *OutParm = CLiwGenericParamList :: NewL() ;
+    CleanupStack :: PushL( OutParm ) ;
+    CLiwGenericParamList *InParm = CLiwGenericParamList :: NewL() ;
+    CleanupStack :: PushL( InParm ) ;
+    OutParm->AppendL( TLiwGenericParam( KErrCode , TLiwVariant( ( TInt32 )SErrNone ) ) ) ;
+    iCallBack->HandleNotifyL( aTransid, KLiwEventCanceled, *OutParm, *InParm ) ;
+    CleanupStack::PopAndDestroy( InParm );
+    CleanupStack::PopAndDestroy( OutParm );
+    CleanupStack :: Pop( this ) ;
     delete this;
     }