diff -r 63339781d179 -r 09b1ac925e3f pkiutilities/CertmanUi/SRC/CertmanuicontainerTrustedSite.cpp --- a/pkiutilities/CertmanUi/SRC/CertmanuicontainerTrustedSite.cpp Thu Aug 19 10:45:23 2010 +0300 +++ b/pkiutilities/CertmanUi/SRC/CertmanuicontainerTrustedSite.cpp Tue Aug 31 16:04:40 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -78,7 +78,12 @@ CreateWindowL(); CreateListBoxL(); UpdateListBoxL( aCurrentPosition, aTopItem ); - iListBox->ItemDrawer()->ColumnData()->SetIconArray( iIconHandler->CreateIconArrayL() ); + if ( iListBox ) + { + // Creates graphic. + iListBox->ItemDrawer()->ColumnData()-> + SetIconArray( iIconHandler->CreateIconArrayL() ); + } SetRect( aRect ); CERTMANUILOGGER_LEAVEFN( " CCertManUIContainerTrustedSite::ConstructL" );