metadataengine/server/src/mdspropertydef.cpp
branchRCL_3
changeset 6 646a02f170b9
parent 0 c53acadfccc6
equal deleted inserted replaced
3:6752808b2036 6:646a02f170b9
   283 #ifdef _DEBUG
   283 #ifdef _DEBUG
   284     		User::Panic( _L("MdSPDSto") , KErrMdEUnknownPropertyType );
   284     		User::Panic( _L("MdSPDSto") , KErrMdEUnknownPropertyType );
   285 #endif
   285 #endif
   286     		User::Leave( KErrMdEUnknownPropertyType );
   286     		User::Leave( KErrMdEUnknownPropertyType );
   287 		}
   287 		}
   288 	rowData.AppendL( TColumn( GetName().AllocL() ) );
   288 	rowData.AppendL( TColumn( GetName().AllocLC() ) );
       
   289 	CleanupStack::Pop(); //name
   289 
   290 
   290 	TDefId id;
   291 	TDefId id;
   291 	id =  MMdSIndexer::ExecuteAndGetIndexL( KMdsSqlClauseAddPropertyDef, rowData );
   292 	id =  MMdSIndexer::ExecuteAndGetIndexL( KMdsSqlClauseAddPropertyDef, rowData );
   292 	SetId( id );
   293 	SetId( id );
   293 
   294