harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp
branchRCL_3
changeset 6 646a02f170b9
parent 1 acef663c1218
child 19 b73252188534
equal deleted inserted replaced
3:6752808b2036 6:646a02f170b9
    40 	
    40 	
    41 	if( iSession )
    41 	if( iSession )
    42 		{
    42 		{
    43 		TRAP_IGNORE( iSession->RemoveRelationObserverL( *this ) );
    43 		TRAP_IGNORE( iSession->RemoveRelationObserverL( *this ) );
    44 		}
    44 		}
       
    45 	
       
    46 	if( iQuery )
       
    47 	    {
       
    48 	    iQuery->Cancel();
       
    49 	    delete iQuery;
       
    50 	    }
    45 	}
    51 	}
    46 
    52 
    47 CLocationRelationObserver* CLocationRelationObserver::NewL( CMdESession* aSession, CComposerImagePlugin* aComposer )
    53 CLocationRelationObserver* CLocationRelationObserver::NewL( CMdESession* aSession, CComposerImagePlugin* aComposer )
    48 	{
    54 	{
    49 	WRITELOG( "CLocationRelationObserver::NewL start" );
    55 	WRITELOG( "CLocationRelationObserver::NewL start" );