# HG changeset patch # User William Roberts # Date 1270585238 -3600 # Node ID ca8de445a388ac6d08ac87fe77f61d933d7ba02e # Parent e99acc9979f2d55f0d664893814cefd6cb8cdcb2 Fix the pointer-to-member function syntax in calls to FindOperationL (Bug 1775) diff -r e99acc9979f2 -r ca8de445a388 imservices/ossprotocoladaptation/src/waittimer.cpp --- a/imservices/ossprotocoladaptation/src/waittimer.cpp Tue Apr 06 21:01:43 2010 +0100 +++ b/imservices/ossprotocoladaptation/src/waittimer.cpp Tue Apr 06 21:20:38 2010 +0100 @@ -730,7 +730,7 @@ case ESearch_State_Finished: { LOGGER ( TXT ( "CWaitTimer::ESearch_State_Finished" ) ); - operationindex = ( FindOperationL ( iOpId, COssSendDataOperation::OperationId ) ); + operationindex = ( FindOperationL ( iOpId, &COssSendDataOperation::OperationId ) ); if ( operationindex != KErrNotFound ) { @@ -757,7 +757,7 @@ else { LOGGER ( TXT ( "CWaitTimer::ESearch: ERROR !!" ) ); - operationindex = ( FindOperationL ( iOpId, COssSendDataOperation::OperationId ) ); + operationindex = ( FindOperationL ( iOpId, &COssSendDataOperation::OperationId ) ); iOperations[ operationindex ]->SetResponse ( rmsg ); //ownership of rmsg is transferred iOperations[ operationindex ]->CompletedOperation ( KErrNotSupported );// for all errors CleanupStack::Pop( rmsg ); @@ -769,7 +769,7 @@ { LOGGER ( TXT ( "CWaitTimer::ESearch_Get_Keys" ) ); - operationindex = ( FindOperationL ( iOpId, COssSendDataOperation::OperationId ) ); + operationindex = ( FindOperationL ( iOpId, &COssSendDataOperation::OperationId ) ); if ( operationindex != KErrNotFound ) { @@ -792,7 +792,7 @@ case EUpdateOwnAvtar : { LOGGER ( TXT ( "CWaitTimer::EUpdateOwnAvtar" ) ); - operationindex = ( FindOperationL ( iOpId, COssSendDataOperation::OperationId ) ); + operationindex = ( FindOperationL ( iOpId, &COssSendDataOperation::OperationId ) ); if ( operationindex != KErrNotFound ) { @@ -807,7 +807,7 @@ default: { LOGGER ( TXT ( "CWaitTimer::default start" ) ); - operationindex = ( FindOperationL ( iOpId, COssSendDataOperation::OperationId ) ); + operationindex = ( FindOperationL ( iOpId, &COssSendDataOperation::OperationId ) ); if ( operationindex != KErrNotFound ) { @@ -991,7 +991,7 @@ } else { - TInt x ( FindOperationL ( 6, COssSendDataOperation::OperationId ) ); + TInt x ( FindOperationL ( 6, &COssSendDataOperation::OperationId ) ); if( x != -1) { // is operation completed? TRequestStatus* status = iOperations[ x ]->Status(); @@ -1023,7 +1023,7 @@ return buff; } // try to find operation - TInt x ( FindOperationL ( aTransId, COssSendDataOperation::OperationId ) ); + TInt x ( FindOperationL ( aTransId, &COssSendDataOperation::OperationId ) ); // is operation completed? TRequestStatus* status = iOperations[ x ]->Status();