uifw/AvKon/src/eikfrlb.cpp
branchRCL_3
changeset 16 71dd06cfe933
parent 15 08e69e956a8c
child 18 0aa5fbdfbc30
equal deleted inserted replaced
15:08e69e956a8c 16:71dd06cfe933
   510     }
   510     }
   511 
   511 
   512 #ifdef RD_LIST_STRETCH
   512 #ifdef RD_LIST_STRETCH
   513 EXPORT_C void CEikFormattedCellListBox::EnableStretching( const TBool aEnabled )
   513 EXPORT_C void CEikFormattedCellListBox::EnableStretching( const TBool aEnabled )
   514     {
   514     {
   515     if ( ItemDrawer()->FormattedCellData()->StretchingEnabled() != aEnabled )
   515     if ( ItemDrawer() && 
       
   516          ( ItemDrawer()->FormattedCellData()->StretchingEnabled() != aEnabled ) )
   516         {
   517         {
   517         ItemDrawer()->FormattedCellData()->EnableStretching( aEnabled );
   518         ItemDrawer()->FormattedCellData()->EnableStretching( aEnabled );
   518         SizeChanged();
   519         SizeChanged();
   519         }
   520         }
   520     }
   521     }