uifw/AvKon/src/eikfrlb.cpp
branchRCL_3
changeset 16 71dd06cfe933
parent 15 08e69e956a8c
child 18 0aa5fbdfbc30
--- 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();