systemsettings/gssensorplugin/src/gssenbasecontainer.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
     1 /*
     1 /*
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2008 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 	
   192     CleanupStack::Pop( iconArray );
   193 	if(iconArray)
       
   194 		{
       
   195 		CleanupStack::Pop( iconArray );
       
   196 		}
       
   197 
   193 
   198     TRACE_( "[GSSensorPlugin] CGSSenBaseContainer::AddCheckboxIconsL() - return" );
   194     TRACE_( "[GSSensorPlugin] CGSSenBaseContainer::AddCheckboxIconsL() - return" );
   199     }
   195     }
   200 
   196 
   201 // ---------------------------------------------------------------------------
   197 // ---------------------------------------------------------------------------