harvester/composerplugins/imagecomposer/src/locationrelationobserver.cpp
changeset 20 6dfc5f825351
parent 1 acef663c1218
child 40 910a23996aa0
equal deleted inserted replaced
3:b73a2e62868f 20:6dfc5f825351
    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" );