systemsettings/gssensorplugin/src/gssenbasecontainer.cpp
branchRCL_3
changeset 62 924385140d98
parent 0 2e3d3ce01487
child 63 c2c61fdca848
equal deleted inserted replaced
58:0818dd463d41 62:924385140d98
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   187     castedListbox->ItemDrawer()->ColumnData()->SetIconArray( iconArray );
   187     castedListbox->ItemDrawer()->ColumnData()->SetIconArray( iconArray );
   188 
   188 
   189     // cleanup checkboxOnIcon, checkboxOffIcon, iconArray
   189     // cleanup checkboxOnIcon, checkboxOffIcon, iconArray
   190     CleanupStack::Pop( checkboxOffIcon );
   190     CleanupStack::Pop( checkboxOffIcon );
   191     CleanupStack::Pop( checkboxOnIcon );
   191     CleanupStack::Pop( checkboxOnIcon );
   192     CleanupStack::Pop( iconArray );
   192 	
       
   193 	if(iconArray)
       
   194 		{
       
   195 		CleanupStack::Pop( iconArray );
       
   196 		}
   193 
   197 
   194     TRACE_( "[GSSensorPlugin] CGSSenBaseContainer::AddCheckboxIconsL() - return" );
   198     TRACE_( "[GSSensorPlugin] CGSSenBaseContainer::AddCheckboxIconsL() - return" );
   195     }
   199     }
   196 
   200 
   197 // ---------------------------------------------------------------------------
   201 // ---------------------------------------------------------------------------