--- a/phoneclientserver/phoneclient/Src/UssdWrapper/CPhCltUssdImp.cpp Thu May 27 13:23:05 2010 +0300
+++ b/phoneclientserver/phoneclient/Src/UssdWrapper/CPhCltUssdImp.cpp Fri Jun 11 14:07:16 2010 +0300
@@ -416,7 +416,7 @@
//
void CPhCltUssdImp::HandleSendEventL( const TInt aError )
{
- *iSendError = Min( aError , KErrNone );
+ iSendError = Min( aError , KErrNone );
TFLOGSTRING2("CPhCltUssdImp: HandleSendEventL\
aError = %d call", aError)
// iNoteController is allocated only if notes are shown.
@@ -572,8 +572,7 @@
return KErrInUse;
}
- TInt error = KErrNone;
- iSendError = &error;
+ iSendError = KErrNone;
TFLOGSTRING("CPhCltUssdImp: SendUssd iRequestHandler")
iRequestHandler->SendUssd( aMsgData , attributePckg );
// iNoteController is allocated only if notes are shown.
@@ -588,13 +587,8 @@
// Set this active object to wait the completion of the send request.
iWait->Start();
- // If not deleted:
- if ( iWait )
- {
- iSendError = NULL;
- }
TFLOGSTRING("CPhCltUssdImp: SendUssd exit")
- return error;
+ return iSendError;
}