contentstorage/casrv/cawidgetscanner/src/cawidgetdescription.cpp
changeset 125 26079c1bb561
parent 119 50e220be30d1
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
   161 //
   161 //
   162 // ----------------------------------------------------------------------------
   162 // ----------------------------------------------------------------------------
   163 //
   163 //
   164 CCaWidgetDescription *CCaWidgetDescription::CloneL()
   164 CCaWidgetDescription *CCaWidgetDescription::CloneL()
   165     {   
   165     {   
   166     CCaWidgetDescription* clone = CCaWidgetDescription::NewL();
   166     CCaWidgetDescription* clone = CCaWidgetDescription::NewLC();
   167     
   167     
   168     clone->SetPathL( GetPath() );
   168     clone->SetPathL( GetPath() );
   169     clone->SetMmcIdL( GetMmcId() );
   169     clone->SetMmcIdL( GetMmcId() );
   170     clone->SetStringidTitleL( GetStringIdTitle() );
   170     clone->SetStringidTitleL( GetStringIdTitle() );
   171     clone->SetLibraryL( GetLibrary() );
   171     clone->SetLibraryL( GetLibrary() );
   179     clone->SetLibraryL( GetLibrary() );
   179     clone->SetLibraryL( GetLibrary() );
   180     clone->SetModificationTimeL( GetModificationTime() );
   180     clone->SetModificationTimeL( GetModificationTime() );
   181     clone->SetServiceXmlL( GetServiceXml() );
   181     clone->SetServiceXmlL( GetServiceXml() );
   182     clone->SetManifestFilePathNameL( GetManifestFilePathName() );
   182     clone->SetManifestFilePathNameL( GetManifestFilePathName() );
   183     
   183     
       
   184     CleanupStack::Pop( clone );
   184     return clone;
   185     return clone;
   185     }
   186     }
   186 
   187 
   187 // ----------------------------------------------------------------------------
   188 // ----------------------------------------------------------------------------
   188 //
   189 //