diff -r e64954c2c8e2 -r e8f259fad141 meetingrequest/mrcalremoteattachment/api/inc/ccalremoteattachmentapi.inl --- a/meetingrequest/mrcalremoteattachment/api/inc/ccalremoteattachmentapi.inl Tue Apr 27 16:20:14 2010 +0300 +++ b/meetingrequest/mrcalremoteattachment/api/inc/ccalremoteattachmentapi.inl Tue May 11 15:57:15 2010 +0300 @@ -11,11 +11,11 @@ * * Contributors: * -* Description: +* Description: * */ -#include +#include "calremoteattachmentapidefs.h" #include // simple wrapper class with array deletion on close @@ -37,19 +37,19 @@ const TDesC8& aUri ) { TAny* ptr( NULL ); - + RImplInfoPtrArrayCalRemoteAttachment implArray; CleanupClosePushL( implArray ); - REComSession::ListImplementationsL( + REComSession::ListImplementationsL( TUid::Uid( KCalRemoteAttachmentAPIInterface ), implArray ); - + TInt implCount( implArray.Count() ); if ( !implCount ) { User::Leave( KErrNotFound ); } - + for ( TInt i(0); i < implCount && !ptr; ++i ) { TPtrC8 datatype( implArray[i]->DataType() ); @@ -59,10 +59,10 @@ TUid implUid = implArray[i]->ImplementationUid(); ptr = REComSession::CreateImplementationL( implUid, keyOffset, - NULL ); + NULL ); } } - + User::LeaveIfNull( ptr ); CleanupStack::PopAndDestroy( &implArray ); return reinterpret_cast(ptr);