Fix the pointer-to-member function syntax in calls to FindOperationL (Bug 1775) CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Tue, 06 Apr 2010 21:20:38 +0100
branchCompilerCompatibility
changeset 15 ca8de445a388
parent 14 e99acc9979f2
Fix the pointer-to-member function syntax in calls to FindOperationL (Bug 1775)
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();