idlehomescreen/widgetmanager/src/wmwidgetorderdata.cpp
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
equal deleted inserted replaced
11:ff572dfe6d86 12:9674c1a575e9
   172 
   172 
   173 // ---------------------------------------------------------
   173 // ---------------------------------------------------------
   174 // CWmWidgetOrderData::UpdateName
   174 // CWmWidgetOrderData::UpdateName
   175 // ---------------------------------------------------------
   175 // ---------------------------------------------------------
   176 //
   176 //
   177 void CWmWidgetOrderData::UpdateNameL( const TDesC& aName )
   177 void CWmWidgetOrderData::UpdateName( const TDesC& aName )
   178     {
   178     {
   179     if ( iName->Compare( aName ) != KErrNone )
   179     if ( iName->Compare( aName ) != KErrNone )
   180         {
   180         {
   181         delete iName;
   181         delete iName;
   182         iName = NULL;
   182         iName = NULL;
   183         iName = aName.AllocL();
   183         iName = aName.Alloc();
   184         }
   184         }
   185     }
   185     }
   186 
   186 
   187 // End of file
   187 // End of file