--- a/uifw/AvKon/src/eikfrlb.cpp Wed Mar 31 21:59:52 2010 +0300
+++ b/uifw/AvKon/src/eikfrlb.cpp Wed Apr 14 16:14:00 2010 +0300
@@ -512,7 +512,8 @@
#ifdef RD_LIST_STRETCH
EXPORT_C void CEikFormattedCellListBox::EnableStretching( const TBool aEnabled )
{
- if ( ItemDrawer()->FormattedCellData()->StretchingEnabled() != aEnabled )
+ if ( ItemDrawer() &&
+ ( ItemDrawer()->FormattedCellData()->StretchingEnabled() != aEnabled ) )
{
ItemDrawer()->FormattedCellData()->EnableStretching( aEnabled );
SizeChanged();