photosgallery/controllers/collectionmanager/src/glxcollectionselectionpopup.cpp
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
    33 //
    33 //
    34 EXPORT_C TInt TGlxCollectionSelectionPopup::ShowPopupL(
    34 EXPORT_C TInt TGlxCollectionSelectionPopup::ShowPopupL(
    35         RArray<TUint32>& aSelectedIds, TUint32 aCollectionType, 
    35         RArray<TUint32>& aSelectedIds, TUint32 aCollectionType, 
    36         TBool aAllowMultipleSelection, TBool aEnableContainerCreation)
    36         TBool aAllowMultipleSelection, TBool aEnableContainerCreation)
    37 	{
    37 	{
       
    38     CleanupClosePushL(aSelectedIds);
    38 	TUint32 collectionId = 0;
    39 	TUint32 collectionId = 0;
    39 	CMPXFilter* filter = NULL;
    40 	CMPXFilter* filter = NULL;
    40 
    41 
    41     if (aCollectionType == KGlxCollectionTypeIdAlbum)
    42     if (aCollectionType == KGlxCollectionTypeIdAlbum)
    42         {
    43         {
    93     if (filter)
    94     if (filter)
    94     	{
    95     	{
    95     	CleanupStack::PopAndDestroy(filter);
    96     	CleanupStack::PopAndDestroy(filter);
    96     	}
    97     	}
    97     	
    98     	
       
    99     CleanupStack::Pop(&aSelectedIds);
    98     
   100     
    99     if (accepted)
   101     if (accepted)
   100         {        
   102         {        
   101         return KErrNone;
   103         return KErrNone;
   102         }
   104         }